[PATCH] Cygwin: redefine some macros for Linux compatibility

Ken Brown kbrown@cornell.edu
Wed Jul 6 20:51:29 GMT 2022

On 7/6/2022 4:25 PM, Ken Brown wrote:
> Patch attached.
> I wasn't sure whether the API bump was warranted for such a trivial change.  But 
> the fact is that some programs compiled prior to the patch will behave 
> differently if they are recompiled after the patch.  For example, emacs limits 
> the number of open subprocesses to FD_SETSIZE, so this number will change when 
> emacs is recompiled for Cygwin 3.4.0.  Is that a good enough reason to bump the 
> API?

Oh, wait a minute there's already been an API bump from 341 to 342, so I guess 
there's no need for another.  I could just add the FD_SETSIZE and NOFILE changes 
to the explanation for that bump.


More information about the Cygwin-patches mailing list