projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gettimeofday: port recent C++ fix to Emacs
[gnulib.git]
/
tests
/
test-ftruncate.c
diff --git
a/tests/test-ftruncate.c
b/tests/test-ftruncate.c
index
820d471
..
8b795a8
100644
(file)
--- a/
tests/test-ftruncate.c
+++ b/
tests/test-ftruncate.c
@@
-38,6
+38,7
@@
main (int argc, char *argv[])
ASSERT (errno == EBADF);
}
{
+ close (99);
errno = 0;
ASSERT (ftruncate (99, 0) == -1);
ASSERT (errno == EBADF);