projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strtoumax: fix another typo in previous commit
[gnulib.git]
/
tests
/
test-fclose.c
diff --git
a/tests/test-fclose.c
b/tests/test-fclose.c
index
53f9d24
..
3fbecf1
100644
(file)
--- a/
tests/test-fclose.c
+++ b/
tests/test-fclose.c
@@
-96,7
+96,9
@@
main (int argc, char **argv)
}
}
{
- FILE *fp = fdopen (99, "r");
+ FILE *fp;
+ close (99);
+ fp = fdopen (99, "r");
if (fp != NULL)
{
errno = 0;