This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: fcntl bug
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 3 Sep 2009 15:17:17 -0400
- Subject: Re: fcntl bug
- References: <4A8F0944.5020004@byu.net> <4A8F1819.9060209@sipxx.com> <4A8F19DC.8060104@byu.net> <20090822001027.GB8375@ednor.casa.cgf.cx> <loom.20090824T170139-863@post.gmane.org> <4A9B1A3B.9070600@byu.net> <20090831005538.GH2068@ednor.casa.cgf.cx> <4AA013D2.5060702@byu.net>
- Reply-to: cygwin-patches at cygwin dot com
On Thu, Sep 03, 2009 at 01:06:58PM -0600, Eric Blake wrote:
>> If it is important to you then please provide a patch.
>
>2009-09-03 Eric Blake <ebb9@byu.net>
>
> * dtable.h (OPEN_MAX_MAX): New macro.
> * resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it.
> * dtable.cc (dtable::extend): Likewise.
> * fcntl.cc (fcntl64): Obey POSIX rules.
> * syscalls.cc (dup2): Likewise.
Thanks for the patch. Go ahead and check this in.
In particular, thanks for turning (100 * NOFILE_INCR) into a #define.
cgf