-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Marc Aurele La France on 1/5/2008 10:24 AM: |>> This is keyed on whether or not <sys/wait.h> #define's WNOHANG, but you |>> might want to key off of the existence of waitpid(), using the |>> automangle |>> suite. I am submitting this in its current form given that waitpid() is |>> just about as old as wait(), older than wait3() and wait4() even, and |>> that |>> there is no point in WNOHANG without waitpid() or vice-versa. | |> I agree that waitpid is well-established. Every bit of |> autoconfiscation imposes a small extra maintenance burden. Partly |> for that reason, I decided to just assume the existence of both |> waitpid() and WNOHANG.
Ultimately, if this is a real issue in practice, the solution would be a gnulib module that provides waitpid replacements for lacking systems. But most likely, nobody actively ports to those old platforms any more. Also, gnulib already has a wait-process module, so I wonder if it would be useful here. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf72D84KuGfSFAYARAn6KAJ45QV5mlvDlBpq0ID4Y/HjqyELDZQCgmqyg gJgDCfgR62W9a2qTx0mg3Vw= =E7zb -----END PGP SIGNATURE-----
