changeset 32240:ba7240213326

spawn: Fix incomplete fix.
author Bruno Haible <bruno@clisp.org>
date Thu, 31 Dec 2009 23:29:51 +0100
parents 9e0f6a3393c8
children 101f45c8a270
files ChangeLog lib/spawn.in.h
diffstat 2 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 31 22:54:32 2009 +0100
+++ b/ChangeLog	Thu Dec 31 23:29:51 2009 +0100
@@ -1,3 +1,11 @@
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+	spawn: Fix incomplete fix.
+	* lib/spawn.in.h (posix_spawnattr_getflags, posix_spawnattr_setflags,
+	posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Correct the link
+	warnings for GNULIB_POSIXCHECK again.
+	Reported by Eric Blake.
+
 2009-12-31  Bruno Haible  <bruno@clisp.org>
 
 	Avoid namespace pollution on glibc systems.
--- a/lib/spawn.in.h	Thu Dec 31 22:54:32 2009 +0100
+++ b/lib/spawn.in.h	Thu Dec 31 23:29:51 2009 +0100
@@ -315,7 +315,7 @@
 # define posix_spawnattr_getflags(a, b)                         \
   (GL_LINK_WARNING ("posix_spawnattr_getflags is unportable - "        \
                     "use gnulib module posix_spawnattr_getflags for portability"), \
-   posix_spawnattr_getsigdefault (a, b))
+   posix_spawnattr_getflags (a, b))
 #endif
 
 #if @GNULIB_POSIX_SPAWNATTR_SETFLAGS@
@@ -333,7 +333,7 @@
 # define posix_spawnattr_setflags(a, b)                         \
   (GL_LINK_WARNING ("posix_spawnattr_setflags is unportable - "        \
                     "use gnulib module posix_spawnattr_setflags for portability"), \
-   posix_spawnattr_getflags (a, b))
+   posix_spawnattr_setflags (a, b))
 #endif
 
 #if @GNULIB_POSIX_SPAWNATTR_GETPGROUP@
@@ -351,7 +351,7 @@
 # define posix_spawnattr_getpgroup(a, b)                         \
   (GL_LINK_WARNING ("posix_spawnattr_getpgroup is unportable - "        \
                     "use gnulib module posix_spawnattr_getpgroup for portability"), \
-   posix_spawnattr_setflags (a, b))
+   posix_spawnattr_getpgroup (a, b))
 #endif
 
 #if @GNULIB_POSIX_SPAWNATTR_SETPGROUP@
@@ -369,7 +369,7 @@
 # define posix_spawnattr_setpgroup(a, b)                         \
   (GL_LINK_WARNING ("posix_spawnattr_setpgroup is unportable - "        \
                     "use gnulib module posix_spawnattr_setpgroup for portability"), \
-   posix_spawnattr_setflags (a, b))
+   posix_spawnattr_setpgroup (a, b))
 #endif
 
 #if @GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY@