This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Moving everything from signal.h to sys/signal.h
- From: jjohnstn <jjohnstn at redhat dot com>
- To: Christopher Faylor <me at cgf dot cx>
- Cc: newlib at sourceware dot org
- Date: Fri, 8 Oct 2004 13:43:29 -0400 (EDT)
- Subject: Re: Moving everything from signal.h to sys/signal.h
On Thu, 7 Oct 2004, Christopher Faylor wrote:
> On Thu, Oct 07, 2004 at 04:21:07PM -0400, Jeff Johnston wrote:
> ><sys/signal.h> is not defined by POSIX, ANSI, Single UNIX, or C99 so we're
> >largely in undefined territory here. As previously noted, newlib's usage
> >of the sys directory doesn't necessarily match up with other C libraries
> >out there. It seems to me the ultimate goal you want to achieve is to
> >allow existing code written against glibc that takes advantage of the fact
> >that <signal.h> and <sys/signal.h> are interchangeable. An easy solution
> >would be to add a check in the default <sys/signal.h> that if _SIGNAL_H_
> >wasn't already defined, to include <signal.h>. Does that seem reasonable
> >to you?
>
> Yes, that seems fine. I do like trying to be as close to glibc as possible,
> too.
>
> cgf
>
Ok, patch applied.
-- Jeff J.