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: cygwin1.dll bug in open(O_EXCL)


On Aug 24 10:49, Eric Blake wrote:
> As a side effect of your change, open("broken_symlink", O_RDWR|O_EXCL) now
> fails with EACCES instead of ENOENT, but since POSIX leaves O_EXCL without
> O_CREAT as undefined behavior.

That's why I didn't add any further testing for other cases with O_EXCL.
Isn't it good to know to have a fully POSIX-compliant undefined
behaviour? ;)


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/


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