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]

Re: [PATCH] Fix _SC_xxx and _POSIX_xxx definitions


On Feb  7 11:23, Jeff Johnston wrote:
> Ralf Corsepius wrote:
> >On Tue, 2007-02-06 at 19:10 -0500, Jeff Johnston wrote:
> >>Corinna Vinschen wrote:
> >>>On Feb  6 17:32, Jeff Johnston wrote:
> >>>>What happened to the __rtems__ checks around _SC_STREAM_MAX and 
> >>>>_SC_PRIORITY_SCHEDULING?  Are these or additional RTEMS checks needed?
> >No, they aren't.
> >
> >;) AFAIS from the newlib's cvs logs they have been added by you with the
> >following comment:
> >
> >revision 1.30
> >date: 2002/04/04 22:41:11;  author: jjohnstn;  state: Exp;  lines: +5 -0
> >
> >2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
> >
> >        * libc/include/sys/unistd.h (_SC_STREAM_MAX, 
> >        _SC_PRIORITY_SCHEDULING):
> >        Added for non-Cygwin, non-RTEMS configurations.
> >
> >Probably you had wanted to avoid conflicts with RTEMS and Cygwin, but
> >this argument is moot, because we use _SC_xxx from newlib, exclusively.
> >
> 
> Darn, I should have spotted this.  Thanks  Ralf.  Sorry Corinna.  Please 
> go ahead with whatever resolution to the few Cygnus-specific non-POSIX 
> values you deem appropriate.

Thank you.  I think, I'll change the comment to mention that these are
"non-POSIX" instead of "Cygwin-specific", since they are known values on
Linux, Cygwin and, AFAIK, Solaris, and let them defined unconditionally.
It might be a good idea to have them defined, so that the numerical
values are not accidentally used by other potential platforms.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]