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: Paul Eggert
Subject: Re: what does regex depend on sys_wait?
Date: Mon, 27 Sep 2010 15:18:31 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

On 09/27/10 14:19, Eric Blake wrote:

> Because POSIX requires <stdlib.h> to provide WEXITSTATUS, among others,
> but some systems don't do this by default.  Therefore, the stdlib module
> depends on sys_wait.

This explains the mechanism, yes, but still, it's not really necessary
for the regex module to require the WEXITSTATUS gorp.  An application
that imports regex but no other modules should not need to check for
WEXITSTATUS etc; the module (and all its gnulib dependencies) will
work just fine without it.

It's not completely trivial to fix this, alas, but nevertheless a
fix would be welcome.  Gnulib has too many dependencies, and it's nice
to omit the ones that aren't needed.



reply via email to

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