mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-19 17:30:08 +00:00
Update.
* 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:
parent
6f6867815c
commit
d0ad0a80a6
@ -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.
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user