diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-08 22:28:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-08 22:28:15 +0000 |
commit | 0b795736c823a672f840b63920b098f3a7290451 (patch) | |
tree | 17d01c338a5045df92ca5587995cf70159547718 | |
parent | 2090dd736453e0fc9b646ed7bc342b55bafd441d (diff) | |
download | glibc-0b795736c823a672f840b63920b098f3a7290451.zip glibc-0b795736c823a672f840b63920b098f3a7290451.tar.gz glibc-0b795736c823a672f840b63920b098f3a7290451.tar.bz2 |
Update.
* 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>
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | io/test-lfs.c | 7 |
2 files changed, 16 insertions, 1 deletions
@@ -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 b423a10..bfc71f1 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) |