[1.7] rename/renameat error
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Sep 7 19:21:00 GMT 2009
On Sep 7 09:48, Eric Blake wrote:
> POSIX states that rename must fail with EINVAL if either argument ends in
> '.' or '..' (after trailing slashes are stripped). Cygwin 1.7 is
> detecting this situation (which is a step up from 1.5 which did the rename
> anyways), but sets errno to EBUSY instead of EINVAL.
Thanks for catching. Feel free to fix the rename function accordingly.
This falls definitely under the trivial patch rule.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list