mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03: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:
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
|
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
|
||||||
locking when using mount tab file.
|
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
|
* elf/dl-init.c (_dl_init): Fix test of the size of the
|
||||||
preinit_array section.
|
preinit_array section.
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
|
#include <stdio_ext.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -64,6 +64,9 @@
|
|||||||
{
|
{
|
||||||
char tmpbuf[1024];
|
char tmpbuf[1024];
|
||||||
|
|
||||||
|
/* No locking needed. */
|
||||||
|
(void) __fsetlocking (mtab, FSETLOCKING_BYCALLER);
|
||||||
|
|
||||||
while (__getmntent_r (mtab, &mntbuf, tmpbuf, sizeof (tmpbuf)))
|
while (__getmntent_r (mtab, &mntbuf, tmpbuf, sizeof (tmpbuf)))
|
||||||
{
|
{
|
||||||
struct stat64 fsst;
|
struct stat64 fsst;
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
|
#include <stdio_ext.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
Reference in New Issue
Block a user