aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-20 06:59:59 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-20 06:59:59 +0000
commitfaf4c7f081c709a26558883c54af214fd495a7a8 (patch)
tree95b359b486639f4d199284431556696b37d086b5
parent9af652f60865624b4f44605c0c8bd4c23a18a2a7 (diff)
downloadglibc-faf4c7f081c709a26558883c54af214fd495a7a8.tar
glibc-faf4c7f081c709a26558883c54af214fd495a7a8.tar.gz
glibc-faf4c7f081c709a26558883c54af214fd495a7a8.tar.bz2
glibc-faf4c7f081c709a26558883c54af214fd495a7a8.zip
Update.
* io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
-rw-r--r--ChangeLog2
-rw-r--r--io/fts.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 19aa87f32d..a7d3ad1fcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2001-08-19 Ulrich Drepper <drepper@redhat.com>
+ * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
+
* sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_mem.c: Likewise.
diff --git a/io/fts.c b/io/fts.c
index bfe41d3f44..da337456ce 100644
--- a/io/fts.c
+++ b/io/fts.c
@@ -1091,14 +1091,14 @@ fts_safe_changedir(sp, p, fd, path)
const char *path;
{
int ret, oerrno, newfd;
- struct stat sb;
+ struct stat64 sb;
newfd = fd;
if (ISSET(FTS_NOCHDIR))
return (0);
if (fd < 0 && (newfd = __open(path, O_RDONLY, 0)) < 0)
return (-1);
- if (__fstat(newfd, &sb)) {
+ if (__fxstat64(_STAT_VER, newfd, &sb)) {
ret = -1;
goto bail;
}