diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | io/test-lfs.c | 7 |
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 41c9982804..61a384fad0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2001-01-08 Ulrich Drepper <drepper@redhat.com> + * intl/dcigettext.c: Fix a few warnings. + Patch by Bruno Haible <haible@ilog.fr>. + +2001-01-08 Andreas Jaeger <aj@suse.de> + + * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. + Reported by Joseph S. Myers <jsm28@cam.ac.uk>. + +2001-01-08 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/segfault.c (install_handler): Check output file name with access(). diff --git a/io/test-lfs.c b/io/test-lfs.c index b423a10f08..bfc71f1ac8 100644 --- a/io/test-lfs.c +++ b/io/test-lfs.c @@ -1,5 +1,5 @@ /* Some basic tests for LFS. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. Contributed by Andreas Jaeger <aj@suse.de>, 2000. The GNU C Library is free software; you can redistribute it and/or @@ -100,6 +100,11 @@ do_test (int argc, char *argv[]) error (0, errno, "lseek64 is not supported"); exit (EXIT_SUCCESS); } + if (ret == -1 && errno == EINVAL) + { + error (0, errno, "LFS seems not to be supported "); + exit (EXIT_SUCCESS); + } ret = write (fd, "Hello", 5); if (ret == -1 && errno == EINVAL) |