* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
	* sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
	* sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
This commit is contained in:
Ulrich Drepper 2002-09-21 05:54:00 +00:00
parent 6f6867815c
commit d0ad0a80a6
4 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,9 @@
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
locking when using mount tab file.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
* sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
* elf/dl-init.c (_dl_init): Fix test of the size of the
preinit_array section.

View File

@ -20,6 +20,7 @@
#include <errno.h>
#include <mntent.h>
#include <paths.h>
#include <stdio_ext.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>

View File

@ -64,6 +64,9 @@
{
char tmpbuf[1024];
/* No locking needed. */
(void) __fsetlocking (mtab, FSETLOCKING_BYCALLER);
while (__getmntent_r (mtab, &mntbuf, tmpbuf, sizeof (tmpbuf)))
{
struct stat64 fsst;

View File

@ -20,6 +20,7 @@
#include <errno.h>
#include <mntent.h>
#include <paths.h>
#include <stdio_ext.h>
#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>