diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-03 07:50:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-03 07:50:20 +0000 |
commit | 08c9a553c723f301d044062e72871c8d9e6fa510 (patch) | |
tree | 5fca758b8e7e4444e2a572f9e8446b48193e5f00 /sysdeps/unix/sysv/linux/internal_statvfs.c | |
parent | 4eb6619c70e5db05babfa14abcf389236b73e0df (diff) | |
download | glibc-08c9a553c723f301d044062e72871c8d9e6fa510.tar.gz |
Update.
2004-04-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/internal_statvfs64.c: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add internal_statvfs64.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to
compile 64bit version.
* sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip
compatibility code if __ASSUME_STATFS64 is defined.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if
__ASSUME_STATFS64 != 0.
2004-04-02 Thorsten Kukuk <kukuk@firun.suse.de>
* nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case.
* nis/nss_nis/nis-initgroups.c (saveit): Likewise.
* nis/nss_nis/nis-proto.c (saveit): Likewise.
* nis/nss_nis/nis-rpc.c (saveit): Likewise.
* nis/nss_nis/nis-service.c (saveit): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_statvfs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/internal_statvfs.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c index b2d882ece1..1331bb0bee 100644 --- a/sysdeps/unix/sysv/linux/internal_statvfs.c +++ b/sysdeps/unix/sysv/linux/internal_statvfs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc. +/* Copyright (C) 1998-2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -31,9 +31,16 @@ #include "linux_fsinfo.h" +#ifndef STATFS +# define STATFS statfs +# define STATVFS statvfs +# define INTERNAL_STATVFS __internal_statvfs +#endif + + void -__internal_statvfs (const char *name, struct statvfs *buf, - struct statfs *fsbuf, struct stat64 *st) +INTERNAL_STATVFS (const char *name, struct STATVFS *buf, + struct STATFS *fsbuf, struct stat64 *st) { /* Now fill in the fields we have information for. */ buf->f_bsize = fsbuf->f_bsize; |