projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix fseeko/ftello on cygwin 1.5.24.
[gnulib.git]
/
tests
/
test-fseeko.c
diff --git
a/tests/test-fseeko.c
b/tests/test-fseeko.c
index
1b4c9e8
..
198cbfc
100644
(file)
--- a/
tests/test-fseeko.c
+++ b/
tests/test-fseeko.c
@@
-27,8
+27,6
@@
int
main ()
{
- off_t pos = fseeko (stdin, (off_t)0, SEEK_CUR);
- (void)pos;
-
- return 0;
+ /* This test assumes stdin is seekable. */
+ return fseeko (stdin, (off_t)0, SEEK_CUR) != 0;
}