mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1998-03-23 07:52 H.J. Lu <hjl@gnu.org> * elf/dl-close.c (_dl_close): Fix byte count while removing the shared object from the global scope list and optimize a little bit. 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/filesys.texi (Scanning Directory Content): Add missing closing brace. (Scanning Directory Content): Fix text. 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/memory.texi (Heap Consistency Checking): Add paragraph explaining difference of -lmcheck and MALLOC_CHECK_. 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some typos in comments. 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * test-skeleton.c (main): Fix test for exit signal. 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/generic/strtok_r.c: Undefine __strtok_r. 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as appropriate. 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libc.map: Export __strtok_r. 1998-03-23 Ulrich Drepper <drepper@cygnus.com> * posix/regex.c (re_compile_fastmap): Remove unused variable num_regs and adjust comment. Patch by Jim Meyering <meyering@ascend.com>. * math/math.h (M_*l): Extend long double constants to be usable for 128 bit floats. Patch by Richard Henderson. 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> Patch by Tim Waugh and Andreas Schwab.
This commit is contained in:
@ -27,8 +27,8 @@
|
||||
#include <sys/statvfs.h>
|
||||
|
||||
/* These definitions come from the kernel headers. But we cannot
|
||||
include the headers here because of type clashes. If there will
|
||||
become new filesystem types available we have to add the
|
||||
include the headers here because of type clashes. If new
|
||||
filesystem types will become available we have to add the
|
||||
appropriate definitions here.*/
|
||||
#define ADFS_SUPER_MAGIC 0xadf5
|
||||
#define AFFS_SUPER_MAGIC 0xadff
|
||||
@ -61,7 +61,7 @@ fstatvfs (int fd, struct statvfs *buf)
|
||||
if (__fstatfs (fd, &fsbuf) < 0)
|
||||
return -1;
|
||||
|
||||
/* Now fill in the fields me have information for. */
|
||||
/* Now fill in the fields we have information for. */
|
||||
buf->f_bsize = fsbuf.f_bsize;
|
||||
buf->f_blocks = fsbuf.f_blocks;
|
||||
buf->f_bfree = fsbuf.f_bfree;
|
||||
@ -108,8 +108,8 @@ fstatvfs (int fd, struct statvfs *buf)
|
||||
/* XXX I have no idea how to compute f_favail. Any idea??? */
|
||||
buf->f_favail = buf->f_ffree;
|
||||
|
||||
/* Determining the flags is tricky. We have to read /proc/mount or
|
||||
the /etc/matb file and search for the entry which matches the given
|
||||
/* Determining the flags is tricky. We have to read /proc/mounts or
|
||||
the /etc/mtab file and search for the entry which matches the given
|
||||
file. The way we can test for matching filesystem is using the
|
||||
device number. */
|
||||
buf->f_flag = 0;
|
||||
|
Reference in New Issue
Block a user