projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: don't assume fd 99 is closed
[gnulib.git]
/
tests
/
test-fdopen.c
diff --git
a/tests/test-fdopen.c
b/tests/test-fdopen.c
index
cf773a6
..
5603616
100644
(file)
--- a/
tests/test-fdopen.c
+++ b/
tests/test-fdopen.c
@@
-42,6
+42,7
@@
main (void)
{
FILE *fp;
+ close (99);
errno = 0;
fp = fdopen (99, "r");
if (fp == NULL)