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