[Bug] __wait_status_to_int() is expected to be a macro

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Aug 24 23:43:00 GMT 2018


On Aug 24 10:26, Eric Blake wrote:
> On 08/24/2018 04:06 AM, Corinna Vinschen wrote:
> 
> > > Apologies for reviving an old thread, but I ran into the same problem today.
> > > Is there any chance we could have a macro-only '__wait_status_to_int' in
> > > Cygwin 2.11.0, please?
> > 
> > Here's the glibc approach:
> > 
> > https://sourceware.org/git/?p=glibc.git;a=commit;h=b49ab5f4503f36dcbf43f821f817da66b2931fe6
> > 
> > So glibc/Linux doesn't provide `union wait' at all since 2016.
> > 
> > I'm inclined to do the same.  Thoughts?
> 
> Makes sense to me. It's a non-portable type, and if glibc is no longer
> providing union wait and no one is complaining about their stuff not
> compiling there, then it's hard to argue what Cygwin apps need the type to
> stick around.

Right, thanks for your feedback.  Patch pushed.  union wait is history.
I'll uploaded a new developer snapshot to https://cygwin.com/snapshots/
and will create a new test release shortly.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20180824/d7c41a62/attachment.sig>


More information about the Cygwin mailing list