diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-01 02:26:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-01 02:26:05 +0000 |
commit | 8edf6e0d7e556fa80415ebd35da70ccf594b6373 (patch) | |
tree | 9d62f8c094e8fe32758f68a18845ef90850db924 /sysdeps/posix/posix_fallocate.c | |
parent | 3d784d830015dcb614bf2d154e726e67bd10ea32 (diff) | |
download | glibc-8edf6e0d7e556fa80415ebd35da70ccf594b6373.tar.gz glibc-8edf6e0d7e556fa80415ebd35da70ccf594b6373.tar.xz glibc-8edf6e0d7e556fa80415ebd35da70ccf594b6373.zip |
Update.
* inet/rcmd.c: Use *stat64 instead of *stat internally. * inet/ruserpass.c: Likewise. * intl/loadmsgcat.c: Likewise. * io/getdirname.c: Likewise. * locale/loadlocale.c: Likewise. * misc/getusershell.c: Likewise. * stdlib/canonicalize.c: Likewise. * sysdeps/posix/euidaccess.c: Likewise. * sysdeps/posix/isfdtype.c: Likewise. * sysdeps/posix/posix_fallocate.c: Likewise. * sysdeps/posix/tempname.c: Likewise. * sysdeps/unix/grantpt.c: Likewise. * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. * sysdeps/unix/sysv/linux/ptsname.c: Likewise. * sysdeps/unix/sysv/linux/statvfs.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysvipc/ftok.c: Likewise. * time/getdate.c: Likewise. * time/getdate.c: Add extra access test. 2000-08-31 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'sysdeps/posix/posix_fallocate.c')
-rw-r--r-- | sysdeps/posix/posix_fallocate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/posix_fallocate.c b/sysdeps/posix/posix_fallocate.c index 46ce06f10d..add1b3bf46 100644 --- a/sysdeps/posix/posix_fallocate.c +++ b/sysdeps/posix/posix_fallocate.c @@ -27,7 +27,7 @@ int posix_fallocate (int fd, __off_t offset, size_t len) { - struct stat st; + struct stat64 st; struct statfs f; size_t step; @@ -40,7 +40,7 @@ posix_fallocate (int fd, __off_t offset, size_t len) /* First thing we have to make sure is that this is really a regular file. */ - if (__fxstat (_STAT_VER, fd, &st) != 0) + if (__fxstat64 (_STAT_VER, fd, &st) != 0) return EBADF; if (S_ISFIFO (st.st_mode)) return ESPIPE; |