fcntl bug

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Sep 3 19:17:00 GMT 2009


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



More information about the Cygwin-patches mailing list