This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug in mv (coreutils 6.10)
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 CVS for some rtime, but it failed with EINVAL
erroneously. I changed rename to fail with the same error codes as
Linux in case one of the arguments has a trailing /. component.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/