This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] rename/renameat error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]