changeset 10243:f3834f370cbd

Comment fixes.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 Jun 2008 22:30:46 +0200
parents 9b147a1f7a76
children 478a8cd21855
files ChangeLog lib/signal.in.h m4/sigaction.m4
diffstat 3 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 23 06:44:55 2008 -0600
+++ b/ChangeLog	Mon Jun 23 22:30:46 2008 +0200
@@ -1,3 +1,8 @@
+2008-06-23  Bruno Haible  <bruno@clisp.org>
+
+	* m4/sigaction.m4: Comment fixes.
+	* lib/signal.in.h: Likewise.
+
 2008-06-23  Eric Blake  <ebb9@byu.net>
 
 	Fix typo.
--- a/lib/signal.in.h	Mon Jun 23 06:44:55 2008 -0600
+++ b/lib/signal.in.h	Mon Jun 23 22:30:46 2008 +0200
@@ -118,9 +118,8 @@
 typedef struct siginfo_t siginfo_t;
 # endif /* !@HAVE_SIGINFO_T@ */
 
-  /* Due to autoconf conventions, we can't tell if HAVE_SIGACTION
-     means we have the type or means we have the function.  We assume
-     that all implementations either have both or neither.  */
+/* We assume that platforms which lack the sigaction() function also lack
+   the 'struct sigaction' type, and vice versa.  */
 
 struct sigaction
 {
--- a/m4/sigaction.m4	Mon Jun 23 06:44:55 2008 -0600
+++ b/m4/sigaction.m4	Mon Jun 23 22:30:46 2008 +0200
@@ -8,9 +8,6 @@
 AC_DEFUN([gl_SIGACTION],
 [
   AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
-  dnl Due to autoconf conventions, we can't tell if HAVE_SIGACTION
-  dnl means we have the type or means we have the function.  We assume
-  dnl that all implementations either have both or neither.
   AC_REPLACE_FUNCS([sigaction])
   if test $ac_cv_func_sigaction = no ; then
     HAVE_SIGACTION=0