Re: Bug in mv (coreutils 6.10)

2008-03-27 Thread Corinna Vinschen
On Mar 26 19:48, Eric Blake wrote: > $ mkdir example > $ cd example > $ touch foo > $ strace mv foo bar/. 2>&1 |grep rename > ~ 450 103717 [main] mv 2476 rename: 0 = rename > (c:\cygwin\tmp\example\foo, c:\cygwin\tmp\example\bar\) > > That rename should have failed with ENOENT. That was fixed in

Re: Bug in mv (coreutils 6.10)

2008-03-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Keith Thompson on 3/26/2008 10:56 AM: | (I used to use just "/", but Solaris for some supremely odd reason | allows a file "foo" to be referred to as "foo/", so I've cultivated | the habit of using "/.".) Yes, that's a bug in older Solar

Bug in mv (coreutils 6.10)

2008-03-26 Thread Keith Thompson
When I want to use "mv" to move a file into a directory, I've habitually append "/." to the directory name, so that the command will fail if the name actually refers to a file or if it doesn't exist. (I used to use just "/", but Solaris for some supremely odd reason allows a file "foo" to be refer

Re: bug in 'mv'

2002-01-19 Thread Christopher Faylor
On Sun, Jan 20, 2002 at 04:34:31AM -, Chris Ruffin wrote: >mv from fileutils 4.1 doesn't use a case-insensitive test to make sure >that we aren't doing something stupid like: > >$ mv A a > >where A is a directory. This causes mv to go into infinite recursion >trying to move A to a, because wi

bug in 'mv'

2002-01-19 Thread Chris Ruffin
mv from fileutils 4.1 doesn't use a case-insensitive test to make sure that we aren't doing something stupid like: $ mv A a where A is a directory. This causes mv to go into infinite recursion trying to move A to a, because windows is case-insensitive. Chris Ruffin -- Unsubscribe info: