projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
68aaf7d
)
spawn: Fix misapplied patch.
author
Bruno Haible
<bruno@clisp.org>
Thu, 31 Dec 2009 21:02:09 +0000
(22:02 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 31 Dec 2009 21:02:09 +0000
(22:02 +0100)
ChangeLog
patch
|
blob
|
history
lib/spawn.in.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
348b309
..
0660ef2
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,12
@@
2009-12-31 Bruno Haible <bruno@clisp.org>
2009-12-31 Bruno Haible <bruno@clisp.org>
+ spawn: Fix misapplied patch.
+ * lib/spawn.in.h (posix_spawnattr_getflags, posix_spawnattr_setflags,
+ posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Correct the link
+ warnings for GNULIB_POSIXCHECK.
+
+2009-12-31 Bruno Haible <bruno@clisp.org>
+
times: Update after sys_times changed.
* m4/times.m4: New file, extracted from modules/times. Set HAVE_TIMES.
* modules/times (Files): Add it.
times: Update after sys_times changed.
* m4/times.m4: New file, extracted from modules/times. Set HAVE_TIMES.
* modules/times (Files): Add it.
diff --git
a/lib/spawn.in.h
b/lib/spawn.in.h
index
8f86a97
..
3c42bfa
100644
(file)
--- a/
lib/spawn.in.h
+++ b/
lib/spawn.in.h
@@
-306,10
+306,10
@@
extern int posix_spawnattr_getflags (const posix_spawnattr_t *_Restrict_ __attr,
__THROW _GL_ARG_NONNULL ((1, 2));
# endif
#elif defined GNULIB_POSIXCHECK
__THROW _GL_ARG_NONNULL ((1, 2));
# endif
#elif defined GNULIB_POSIXCHECK
-# undef posix_spawnattr_get
sigdefault
-# define posix_spawnattr_get
sigdefault
(a, b) \
- (GL_LINK_WARNING ("posix_spawnattr_get
sigdefault
is unportable - " \
- "use gnulib module posix_spawnattr_get
sigdefault
for portability"), \
+# undef posix_spawnattr_get
flags
+# define posix_spawnattr_get
flags
(a, b) \
+ (GL_LINK_WARNING ("posix_spawnattr_get
flags
is unportable - " \
+ "use gnulib module posix_spawnattr_get
flags
for portability"), \
posix_spawnattr_getsigdefault (a, b))
#endif
posix_spawnattr_getsigdefault (a, b))
#endif
@@
-324,10
+324,10
@@
extern int posix_spawnattr_setflags (posix_spawnattr_t *__attr,
__THROW _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK
__THROW _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK
-# undef posix_spawnattr_
g
etflags
-# define posix_spawnattr_
g
etflags(a, b) \
- (GL_LINK_WARNING ("posix_spawnattr_
g
etflags is unportable - " \
- "use gnulib module posix_spawnattr_
g
etflags for portability"), \
+# undef posix_spawnattr_
s
etflags
+# define posix_spawnattr_
s
etflags(a, b) \
+ (GL_LINK_WARNING ("posix_spawnattr_
s
etflags is unportable - " \
+ "use gnulib module posix_spawnattr_
s
etflags for portability"), \
posix_spawnattr_getflags (a, b))
#endif
posix_spawnattr_getflags (a, b))
#endif
@@
-342,10
+342,10
@@
extern int posix_spawnattr_getpgroup (const posix_spawnattr_t *_Restrict_ __attr
__THROW _GL_ARG_NONNULL ((1, 2));
# endif
#elif defined GNULIB_POSIXCHECK
__THROW _GL_ARG_NONNULL ((1, 2));
# endif
#elif defined GNULIB_POSIXCHECK
-# undef posix_spawnattr_
setflags
-# define posix_spawnattr_
setflags
(a, b) \
- (GL_LINK_WARNING ("posix_spawnattr_
setflags
is unportable - " \
- "use gnulib module posix_spawnattr_
setflags
for portability"), \
+# undef posix_spawnattr_
getpgroup
+# 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))
#endif
posix_spawnattr_setflags (a, b))
#endif
@@
-359,6
+359,12
@@
extern int posix_spawnattr_setpgroup (posix_spawnattr_t *__attr,
pid_t __pgroup)
__THROW _GL_ARG_NONNULL ((1));
# endif
pid_t __pgroup)
__THROW _GL_ARG_NONNULL ((1));
# endif
+#elif defined GNULIB_POSIXCHECK
+# undef posix_spawnattr_setpgroup
+# 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))
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY@
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY@