delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/21/20:10:49

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019