This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On May 20 17:11, Yaakov Selkowitz wrote: > The proper location for these functions has always been <stdio.h>, however > XPG4 and SUSv2 did mandate a duplicate declaration in <unistd.h>. cuserid > was dropped in SUSv3 (it was marked legacy since XPG4) and the ctermid > declaration in <unistd.h> was made optional and obsolete in SUSv4. > > Fixes: https://cygwin.com/ml/cygwin/2016-05/msg00002.html Thanks, just one point of discussion: > +#if __POSIX_VISIBLE > #ifdef __CYGWIN__ > #define L_ctermid 16 > #endif I think we should get rid of the ifdef CYGWIN. This is a POSIX mandated macro (for some given value of POSIX) so we should simply enable it for all targets. If any system has a particular wish to change the numbers we can adapt. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
signature.asc
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |