projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdate
[gnulib.git]
/
tests
/
test-spawn-pipe-child.c
diff --git
a/tests/test-spawn-pipe-child.c
b/tests/test-spawn-pipe-child.c
index
cf6689d
..
9929491
100644
(file)
--- a/
tests/test-spawn-pipe-child.c
+++ b/
tests/test-spawn-pipe-child.c
@@
-45,6
+45,8
@@
static FILE *myerr;
#undef close
#undef fcntl
#undef fdopen
#undef close
#undef fcntl
#undef fdopen
+#undef fflush
+#undef fprintf
#undef read
#undef write
#undef read
#undef write
@@
-97,7
+99,8
@@
main (int argc, char *argv[])
case 1:
/* Expect fd 2 is closed.
But on HP-UX 11, fd 2 gets automatically re-opened to /dev/null if it
case 1:
/* Expect fd 2 is closed.
But on HP-UX 11, fd 2 gets automatically re-opened to /dev/null if it
- was closed. */
+ was closed. Future POSIX will allow this, see
+ <http://austingroupbugs.net/view.php?id=173>. */
#if !defined __hpux
ASSERT (! is_open (STDERR_FILENO));
#endif
#if !defined __hpux
ASSERT (! is_open (STDERR_FILENO));
#endif