bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] system module?


From: Paul Eggert
Subject: Re: [bug-gnulib] system module?
Date: Fri, 23 Jun 2006 11:48:50 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Eric Blake-1 <address@hidden> writes:

> That thread means that the autoconf decision to obsolete
> AC_HEADER_SYS_WAIT for 2.60 may have been premature; at
> any rate, the documentation under that macro is not completely
> accurate - I'll have to forward this bug report on to autoconf as
> well.

That macro was intended only for the old BSD union wait problem.  If
you merely want to check for the existence of <sys/wait.h>, your best
bet is AC_CHECK_HEADER.

> But on non-POSIX platforms, such as mingw or OS/2, should syscmd
> still expect the user to have /bin/sh available, rather than passing the
> string to the native shell with all its non-portable quoting?

What do users on that platform want?  If they don't know or don't
care, the simplest would be to use a substitute implementation of
'system' that always returns 0.

> I thought one of gnulib's goals was to provide useful POSIX
> semantics atop non-POSIX systems, where possible.

"Possible" is too strong.  It would be more accurate to say "trivial".




reply via email to

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