This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: how to handle union wait portably?
- To: gcc at gcc dot gnu dot org
- Subject: Re: RFA: how to handle union wait portably?
- From: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Date: Fri, 29 Dec 00 21:26:09 PST
Kaveh R. Ghazi <ghazi@caip.rutgers.edu> wrote:
> Kaveh
> ----^
I know, that was a typo.
> I'd phrase it differently. 4.3BSD's sys/wait.h is never
> POSIX-compliant, even technically speaking.
Well, not so fast. What's the definition of <sys/wait.h> being POSIX-compliant?
That when it is #included, WIFEXITED and WIFSIGNALED can be applied to an int
producing a correctly working program, right? This holds when compiled with
PCC.
> How about unconditionally doing #undef HAVE_SYS_WAIT_H in the relevant
> bsd specific config file? (Do so with lots of explanitory comments.)
> I believe the host config file gets included after auto-host.h.
OK, I'll consider doing that.
--
Michael Sokolov
Public Service Agent
International Engineering and Science Task Force
1351 VINE AVE APT 27 Phone: +1-714-738-5409
FULLERTON CA 92833-4291 USA (home office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP)