From 0a68a3d852c46f4d23bb0239c0e9f3398d71823f Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 11 Jan 2010 10:35:52 -0700 Subject: [PATCH] tests: avoid more large file warnings * tests/test-fflush.c: Avoid warning about ftell use. * tests/test-fseek.c: Avoid warning about fseek use. Signed-off-by: Eric Blake --- ChangeLog | 6 ++++++ tests/test-fflush.c | 3 +++ tests/test-fseek.c | 3 +++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3509cdd57..143056e30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-01-11 Eric Blake + + tests: avoid more large file warnings + * tests/test-fflush.c: Avoid warning about ftell use. + * tests/test-fseek.c: Avoid warning about fseek use. + 2010-01-10 Bruno Haible nproc: Work better on Linux when /proc and /sys are not mounted. diff --git a/tests/test-fflush.c b/tests/test-fflush.c index 38bedd975..12403e2ab 100644 --- a/tests/test-fflush.c +++ b/tests/test-fflush.c @@ -18,6 +18,9 @@ #include +/* None of the files accessed by this test are large, so disable the + ftell link warning if we are not using the gnulib ftell module. */ +#define _GL_NO_LARGE_FILES #include #include "signature.h" diff --git a/tests/test-fseek.c b/tests/test-fseek.c index 9b25e1d0d..46d5c8a96 100644 --- a/tests/test-fseek.c +++ b/tests/test-fseek.c @@ -18,6 +18,9 @@ #include +/* None of the files accessed by this test are large, so disable the + fseek link warning if the user requested GNULIB_POSIXCHECK. */ +#define _GL_NO_LARGE_FILES #include #include "signature.h" -- 2.11.0