summaryrefslogtreecommitdiff
path: root/libio/tst-mmap-eofsync.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 14:28:23 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 14:28:23 +0000
commitdc3064332cec5ca6edc9a44f5f6111e506eb037b (patch)
tree79686327822b075f3970aec7ef73372142760047 /libio/tst-mmap-eofsync.c
parent86af500777f45066aa6a6817d4b695cf4b626c38 (diff)
parent963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff)
Merge commit 'refs/top-bases/cvs/exc2signal-template' into cvs/exc2signal-template
Diffstat (limited to 'libio/tst-mmap-eofsync.c')
-rw-r--r--libio/tst-mmap-eofsync.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libio/tst-mmap-eofsync.c b/libio/tst-mmap-eofsync.c
index e8ef727148..0c568e8eb5 100644
--- a/libio/tst-mmap-eofsync.c
+++ b/libio/tst-mmap-eofsync.c
@@ -60,7 +60,6 @@ do_test (void)
printf ("feof = %d, ferror = %d immediately after fgets\n",
feof (f), ferror (f));
-#if 1
c = fgetc (f);
if (c == EOF)
printf ("fgetc -> EOF (feof = %d, ferror = %d)\n",
@@ -71,7 +70,6 @@ do_test (void)
c, feof (f), ferror (f));
result = 1;
}
-#endif
c = write (temp_fd, text2, sizeof text2 - 1);
if (c == sizeof text2 - 1)