projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0197299
)
spawn: Fix incomplete fix.
author
Bruno Haible
<bruno@clisp.org>
Thu, 31 Dec 2009 22:29:51 +0000
(23:29 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 31 Dec 2009 22:29:51 +0000
(23:29 +0100)
ChangeLog
patch
|
blob
|
history
lib/spawn.in.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
b43a6e6
..
4727ffd
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,13
@@
2009-12-31 Bruno Haible <bruno@clisp.org>
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.
* lib/spawn.in.h: Don't include <sched.h>, <signal.h> on glibc systems.
* lib/sys_times.in.h: Don't include <time.h> on glibc systems.
Avoid namespace pollution on glibc systems.
* lib/spawn.in.h: Don't include <sched.h>, <signal.h> on glibc systems.
* lib/sys_times.in.h: Don't include <time.h> on glibc systems.
diff --git
a/lib/spawn.in.h
b/lib/spawn.in.h
index
5a7633c
..
8125c02
100644
(file)
--- a/
lib/spawn.in.h
+++ b/
lib/spawn.in.h
@@
-315,7
+315,7
@@
extern int posix_spawnattr_getflags (const posix_spawnattr_t *_Restrict_ __attr,
# define posix_spawnattr_getflags(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_getflags is unportable - " \
"use gnulib module posix_spawnattr_getflags for portability"), \
# define posix_spawnattr_getflags(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_getflags is unportable - " \
"use gnulib module posix_spawnattr_getflags for portability"), \
- posix_spawnattr_get
sigdefault
(a, b))
+ posix_spawnattr_get
flags
(a, b))
#endif
#if @GNULIB_POSIX_SPAWNATTR_SETFLAGS@
#endif
#if @GNULIB_POSIX_SPAWNATTR_SETFLAGS@
@@
-333,7
+333,7
@@
extern int posix_spawnattr_setflags (posix_spawnattr_t *__attr,
# define posix_spawnattr_setflags(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_setflags is unportable - " \
"use gnulib module posix_spawnattr_setflags for portability"), \
# define posix_spawnattr_setflags(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_setflags is unportable - " \
"use gnulib module posix_spawnattr_setflags for portability"), \
- posix_spawnattr_
g
etflags (a, b))
+ posix_spawnattr_
s
etflags (a, b))
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETPGROUP@
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETPGROUP@
@@
-351,7
+351,7
@@
extern int posix_spawnattr_getpgroup (const posix_spawnattr_t *_Restrict_ __attr
# define posix_spawnattr_getpgroup(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_getpgroup is unportable - " \
"use gnulib module posix_spawnattr_getpgroup for portability"), \
# 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@
#endif
#if @GNULIB_POSIX_SPAWNATTR_SETPGROUP@
@@
-369,7
+369,7
@@
extern int posix_spawnattr_setpgroup (posix_spawnattr_t *__attr,
# define posix_spawnattr_setpgroup(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_setpgroup is unportable - " \
"use gnulib module posix_spawnattr_setpgroup for portability"), \
# define posix_spawnattr_setpgroup(a, b) \
(GL_LINK_WARNING ("posix_spawnattr_setpgroup is unportable - " \
"use gnulib module posix_spawnattr_setpgroup for portability"), \
- posix_spawnattr_set
flags
(a, b))
+ posix_spawnattr_set
pgroup
(a, b))
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY@
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY@