[PATCH v2] Remove union wait

Andreas Schwab schwab@suse.de
Mon Apr 4 09:05:00 GMT 2016


Florian Weimer <fweimer@redhat.com> writes:

> Somehow, the earlier tcsh build failure I saw on the monitor page is
> gone.  tcsh has a __GLIBC__ feature check, and should avoid using union
> wait there, but the macro is probably checked without including
> <features.h>, so __GLIBC__ is not defined.

I think you got it backwards.  When __GLIBC__ is defined, tcsh
explicitly defines BSDWAIT, which means to use union wait.  Handling
__GLIBC__ like __ANDROID__ will fix that.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list