| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 24 Aug 2007 20:54:25 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cygwin1.dll bug in open(O_EXCL) |
| Message-ID: | <20070824185425.GW23854@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <46CEDC45 DOT 7070704 AT byu DOT net> <20070824145630 DOT GT23854 AT calimero DOT vinschen DOT de> <46CF0C0B DOT 9030703 AT byu DOT net> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <46CF0C0B.9030703@byu.net> |
| User-Agent: | Mutt/1.4.2.2i |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |