X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 21 Aug 2009 20:10:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: fcntl bug Message-ID: <20090822001027.GB8375@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4A8F0944 DOT 5020004 AT byu DOT net> <4A8F1819 DOT 9060209 AT sipxx DOT com> <4A8F19DC DOT 8060104 AT byu DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A8F19DC.8060104@byu.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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 Fri, Aug 21, 2009 at 04:04:12PM -0600, Eric Blake wrote: >According to cygwin at sipxx.com on 8/21/2009 3:56 PM: >>It does reject the argument if the upper bound is reached. On the >>lower end, the linux man page does not specify that negative numbers >>are not allowed as arguments. > >But POSIX does (and Linux at least obeys this part of POSIX, whether or >not its man page says so): I checked in a fix for this a while ago. It's in the latest snapshot. Thanks for the test case. cgf -- 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