bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what does regex depend on sys_wait?


From: Bruno Haible
Subject: Re: what does regex depend on sys_wait?
Date: Tue, 28 Sep 2010 22:26:40 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> Also seems like a reasonable solution to me.

Thanks.

> >     * lib/stdlib.in.h: Include<sys/wait.h>  only when the 'system' module
> >     is present.
> 
> It doesn't hurt to unconditionally include <sys/wait.h> when WEXITSTATUS 
> is undefined

Sure it hurts. On mingw, <stdlib.h> does not define WEXITSTATUS, and
<sys/wait.h> does not exist.

  $ ./show-portability sys/wait.h
  sys/wait.h: MISSING in       mingw mingw64

> Missing a change to tests/test-stdlib.c to not test the system()-related 
> macros unless the GNULIB_SYSTEM indicator is set.

Yes, you're right. I forgot that.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]