projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extern-inline: avoid compilation error with HP-UX cc
[gnulib.git]
/
tests
/
test-dup2.c
diff --git
a/tests/test-dup2.c
b/tests/test-dup2.c
index
80514a1
..
9600c85
100644
(file)
--- a/
tests/test-dup2.c
+++ b/
tests/test-dup2.c
@@
-122,6
+122,7
@@
main (void)
errno = 0;
ASSERT (dup2 (-1, fd) == -1);
ASSERT (errno == EBADF);
+ close (99);
errno = 0;
ASSERT (dup2 (99, fd) == -1);
ASSERT (errno == EBADF);