From: Eric Blake Date: Mon, 11 Jan 2010 17:35:52 +0000 (-0700) Subject: tests: avoid more large file warnings X-Git-Tag: v0.1~4757 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=0a68a3d852c46f4d23bb0239c0e9f3398d71823f;p=gnulib.git 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 --- 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"