# HG changeset patch # User Eric Blake # Date 1263231352 25200 # Node ID 8387bca9d2566e806809d1845f951d3734af2540 # Parent f66d17eada1367934be6bfac279f3b109883eedb 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 --- 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 --- 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 --- 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"