Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Sep 2000 06:44:19 +0000 (06:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Sep 2000 06:44:19 +0000 (06:44 +0000)
* io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
don't fail.

ChangeLog
io/test-lfs.c

index 3816218..e20963b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
 
+       * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
+       don't fail.
+
        * elf/elf.h: Add missing official relocations.
 
        * libio/stdio.h: Define __FILE if __need___FILE is defined.
index e14b81c..f73e67e 100644 (file)
@@ -91,7 +91,7 @@ do_test (int argc, char *argv[])
       error (0, errno, "LFS seems not to be supported.");
       exit (EXIT_SUCCESS);
     }
-  
+
   if (ret != 5)
     error (EXIT_FAILURE, errno, "cannot write test string to large file");
 
@@ -102,7 +102,7 @@ do_test (int argc, char *argv[])
 
   ret = stat64 (name, &statbuf);
 
-  if (ret == -1 && errno == ENOSYS)
+  if (ret == -1 && (errno == ENOSYS || errno == EOVERFLOW))
     error (0, errno, "stat64 is not supported");
   else if (ret == -1)
     error (EXIT_FAILURE, errno, "cannot stat file `%s'", name);