bug-gnulib
[Top][All Lists]
Advanced

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

[bug-gnulib] GNULIB wait-process module.


From: Derek Price
Subject: [bug-gnulib] GNULIB wait-process module.
Date: Thu, 03 Mar 2005 15:52:19 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello.  I was looking at removing CVS's internal waitpid substitute in
favor of the GNULIB wait-process module, but it's missing one feature
I need.  CVS needs to detect core dumps in the child of the server so
that the parent knows not to clean up the temporary workspace the
server is using.  This is for debugging purposes, really, but I can
think of no good alternative that doesn't require a complete .

I could stick with waitpid() in this instance, but I would like to
include the other features of wait-process and waitpid() is the last
AC_REPLACE_FUNC module in our lib directory that doesn't come from
GNULIB.  (Well, valloc() is still technically in there, but I believe
that I have almost eliminated that re the recent thread.)

Would you be amenable to a modification to wait-process that allows
core dumps to be detected?  I would be satisfied if a 126 return
status meant a core dump, but the most general solution might be an
extra optional &signal var passed in that was filled with sanitized
signal codes (e.g. SIGXXX) when such were detected.

Regards,

Derek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCJ3kCLD1OTBfyMaQRAhsXAJ42yJxZ3QIxqfreGmraRv9uFEbERACgk+xR
DVZF65S39zr42gqGPbVKI2o=
=OXbb
-----END PGP SIGNATURE-----






reply via email to

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