From 0b795736c823a672f840b63920b098f3a7290451 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Jan 2001 22:28:15 +0000 Subject: Update. * intl/dcigettext.c: Fix a few warnings. Patch by Bruno Haible . 2001-01-08 Andreas Jaeger * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. Reported by Joseph S. Myers . 2001-01-08 Ulrich Drepper --- io/test-lfs.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'io') 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 , 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) -- cgit v1.2.3