mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user