mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
* io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and don't fail.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
2000-09-13 Ulrich Drepper <drepper@redhat.com>
|
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.
|
* elf/elf.h: Add missing official relocations.
|
||||||
|
|
||||||
* libio/stdio.h: Define __FILE if __need___FILE is defined.
|
* libio/stdio.h: Define __FILE if __need___FILE is defined.
|
||||||
|
@@ -102,7 +102,7 @@ do_test (int argc, char *argv[])
|
|||||||
|
|
||||||
ret = stat64 (name, &statbuf);
|
ret = stat64 (name, &statbuf);
|
||||||
|
|
||||||
if (ret == -1 && errno == ENOSYS)
|
if (ret == -1 && (errno == ENOSYS || errno == EOVERFLOW))
|
||||||
error (0, errno, "stat64 is not supported");
|
error (0, errno, "stat64 is not supported");
|
||||||
else if (ret == -1)
|
else if (ret == -1)
|
||||||
error (EXIT_FAILURE, errno, "cannot stat file `%s'", name);
|
error (EXIT_FAILURE, errno, "cannot stat file `%s'", name);
|
||||||
|
Reference in New Issue
Block a user