From: Carl H. <li...@ca...> - 2003-04-09 13:02:49
|
Hi, I'm experiencing some strange behaviour with a new install of MSYS-1.0.8, as I did with previous versions. I'm using Windows XP. Copying files around my local hard disc filesystem with cp works fine. However copying a file from the hard disc to a network share, using something like cp file //server/file results in the copy of `file' on `server' having its 0x0a characters translated to 0x0d0a (the Unix line endings -> DOS line endings transform). This happens with both text and binary files. It does not happen if I use the standard DOS `copy' command. Copying the file back from the server to the hard disc cp //server/file file results in the line endings transform being reversed, so the file ends up as it was. I also notice similar behaviour with tools such as `tar'; things like tar -c adir > //server/foo.tar leave //server/foo.tar similarly corrupted. Is it something I'm doing wrong, or a bug? Thanks for any help that you can offer. Say if there's more information I can provide, or point me to interesting bits of source if I might be able to cook up a patch. Carl |