projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strtoimax: port to HP-UX 11.11
[gnulib.git]
/
tests
/
test-dprintf.c
diff --git
a/tests/test-dprintf.c
b/tests/test-dprintf.c
index
fcc8d51
..
b70e91c
100644
(file)
--- a/
tests/test-dprintf.c
+++ b/
tests/test-dprintf.c
@@
-22,6
+22,7
@@
SIGNATURE_CHECK (dprintf, int, (int, const char *, ...));
#include <errno.h>
+#include <unistd.h>
#include "macros.h"
@@
-35,6
+36,7
@@
main (int argc, char *argv[])
ASSERT (errno == EBADF);
}
{
+ close (99);
errno = 0;
ASSERT (dprintf (99, "test") == -1);
ASSERT (errno == EBADF);