bug-gnulib
[Top][All Lists]
Advanced

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

Re: sigaction, SA_SIGINFO, and SIG_IGN


From: Eric Blake
Subject: Re: sigaction, SA_SIGINFO, and SIG_IGN
Date: Mon, 23 Jun 2008 05:56:47 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

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

According to Bruno Haible on 6/22/2008 1:58 PM:
| I don't understand the "Due to autoconf conventions". We are not using
| HAVE_SIGACTION as a #define in config.h. We are using it as a shell
variable.
| This shell variable is not set by either AC_REPLACE_FUNCS([sigaction])
| nor by AC_CHECK_TYPE(...). So there is no conflict.

I see your point.  AC_REPLACE_FUNCS([sigaction]) indeed sets the config.h
preprocessor variable HAVE_SIGACTION, and I omitted
AC_CHECK_TYPE([sigaction]) because it would also produce HAVE_SIGACTION;
but in config.h.in, we used only @HAVE_SIGACTION@, which is set independently.

|
| Proposed comment change:
|
| *** lib/signal.in.h.orig      2008-06-22 21:55:31.000000000 +0200
| --- 118,125 ----
|   typedef struct siginfo_t siginfo_t;
|   # endif /* address@hidden@ */
|
| ! /* We assume that platforms which lack the sigaction() function also lack
| !    the 'struct sigaction' type, and vice versa.  */

Fine.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhfj38ACgkQ84KuGfSFAYC83wCdGnKSl3ah1Hzwlqt1Iwl9ASl2
fCQAoMCGrOvZbSeQ1beWwn3nwLIEq7FS
=tEj2
-----END PGP SIGNATURE-----




reply via email to

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