Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-12 | Don't include <inttypes.h> or <stdint.h>, since | Paul Eggert | |
fsusage.h now does that. Include fsusage.h first, to test interface. Prefer statvfs if it works, since it's blessed by POSIX. Attempt at most one method (the old code could have generated decls that didn't conform to C89, not that this was ever exercised). | |||
2005-09-22 | Sync from gnulib. | Paul Eggert | |
2005-07-02 | Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally. | Jim Meyering | |
2005-07-01 | Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally, | Jim Meyering | |
and don't include <sys/file.h>). | |||
2005-06-02 | Don't use "path" or "filename" to mean "file name" | Paul Eggert | |
in comments or local variable names. | |||
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2004-11-26 | (statvfs) [HAVE_SYS_STATVFS_H]: Remove decl. | Paul Eggert | |
Declaring int functions causes warnings on some modern systems and shouldn't be needed to compile on ancient ones. | |||
2004-08-02 | Use Autoconf-suggested pattern for inttypes and stdint. | Paul Eggert | |
Include unistd.h, for lseek. | |||
2004-06-30 | Use `file system', not filesystem in a comment. | Jim Meyering | |
2003-06-06 | Merge from gnulib. | Jim Meyering | |
2003-02-06 | Remove declaration of statfs. | Jim Meyering | |
It conflicted with one from OSF/1 5.1 in <sys/mount.h>. | |||
2003-01-06 | Include full_read.h. | Jim Meyering | |
(get_fs_usage): Use full_read instead of safe_read. | |||
2002-09-26 | [! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>. | Jim Meyering | |
(UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro. (PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than int. Work more efficiently if X is the same width as uintmax_t. Do not compare X to -1, to avoid bogus compiler warning. (get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast. Don't assume that f_frsize and f_bsize are the same type. | |||
2002-09-25 | Remove unneeded parentheses around operands of `defined'. | Jim Meyering | |
2000-08-07 | back out Copyright date changes for files with no changes year | Jim Meyering | |
2000-07-09 | update copyright date | Jim Meyering | |
1999-07-15 | (get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: | Jim Meyering | |
Work around SunOS botch also when block size is different from 1k. | |||
1998-12-07 | ansideclify | Jim Meyering | |
1998-03-19 | Include <limits.h>. | Jim Meyering | |
(CHAR_BIT, EXTRACT_TOP_BIT, PROPAGATE_TOP_BIT): New macros. (get_fs_usage): If top bit of system variable corresponding to fsu_bavail is set, then set fsu_bavail_top_bit_set, and sign-extend the value when storing it into fsu_bavail. | |||
1998-01-05 | (get_fs_usage): Add parens. | Jim Meyering | |
1998-01-05 | (PROPAGATE_ALL_ONES): New macro. | Jim Meyering | |
(get_fs_usage): If a value consists entirely of 1 bits, propagate this info to the output by setting it to (uintmax_t) -1. | |||
1997-11-30 | Do all calculations using uintmax_t. | Jim Meyering | |
Include <inttypes.h> if available. (adjust_blocks, CONVERT_BLOCKS): Remove. (get_fs_usage): Set new member fsu_blocksize, and do not convert numbers to 512-byte block units; this avoids overflow here. Cast lseek arg to off_t, not long. | |||
1996-11-28 | (get_fs_usage): If DISK is 0 and we needed to use | Jim Meyering | |
it, return -1 with 0 in ERRNO. From Miles. | |||
1996-11-05 | libitize | Jim Meyering | |
1996-11-03 | cpp-indent + change some #ifdef to #if | Jim Meyering | |
1996-08-02 | (get_fs_usage) [STAT_STATFS4] [_CRAY]: Define f_bavail to f_bfree. | Jim Meyering | |
From by Johan Danielsson. | |||
1996-07-31 | [HAVE_SYS_FS_S5PARAM_H]: Include sys/fs/s5param.h | Jim Meyering | |
to work around bug in sys/filsys.h of Fujitsu UXP/V. Reported by Johan Danielsson. | |||
1996-07-15 | update FSF address in copyright | Jim Meyering | |
1996-05-23 | [_CRAY]: Don't include sys/filsys.h because although | Jim Meyering | |
Unicos-9 has it, it's not needed and would cause other problems because it requires inclusion of other, non-standard headers. | |||
1996-05-17 | (get_fs_usage): Declare parameter PATH to be const. | Jim Meyering | |
1995-10-01 | Remove trailing whitespace. | Jim Meyering | |
1995-10-01 | (get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block | Jim Meyering | |
counts from f_spare array into proper members of struct statfs. From Eirik Fuller (eirik@netapp.com); | |||
1995-05-19 | No longer include safe-l?stat.h. | Jim Meyering | |
1995-05-13 | (statfs): Use stat, not safe_stat. | Jim Meyering | |
1995-01-27 | (get_fs_usage, statfs): Use safe_read, and safe_stat rather than | Jim Meyering | |
bare read and stat. | |||
1994-10-29 | . | Jim Meyering | |
1994-10-27 | merge with 3.9s | Jim Meyering | |
1994-10-08 | . | Jim Meyering | |
1994-10-08 | . | Jim Meyering | |
1994-10-02 | merge with 3.9h | Jim Meyering | |
1994-07-30 | Use SAFE_STAT instead of stat to avoid unnecessary failure | Jim Meyering | |
on systems for which stat can return EINTR. | |||
1994-03-16 | (adjust_blocks): Code it as a function again. | Jim Meyering | |
1994-03-16 | . | Jim Meyering | |
1994-03-14 | . | Jim Meyering | |
1994-03-14 | . | Jim Meyering | |
1993-10-12 | merge with 3.8.4c | Jim Meyering | |
1993-10-09 | merge with 3.8.3e | Jim Meyering | |
1993-10-06 | merge with 3.8.3b | Jim Meyering | |
1993-10-06 | merge with 3.8.3a | Jim Meyering | |
1993-08-26 | merge with 3.8.2 | Jim Meyering | |