X-Spam-Check-By: sourceware.org Date: Fri, 24 Aug 2007 20:54:25 +0200 From: Corinna Vinschen 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/