|
cf42d3e5
|
1998-12-07T03:12:10
|
|
ansideclify
|
|
769d477a
|
1998-03-19T22:18:04
|
|
Include <limits.h>.
(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.
|
|
447637a2
|
1998-01-05T17:38:38
|
|
(get_fs_usage): Add parens.
|
|
86e7bdec
|
1998-01-05T17:33:54
|
|
(PROPAGATE_ALL_ONES): New macro.
(get_fs_usage): If a value consists entirely of 1 bits,
propagate this info to the output by setting it to (uintmax_t) -1.
|
|
b8442ced
|
1997-11-30T10:24:24
|
|
Do all calculations using uintmax_t.
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.
|
|
4b7e5ff7
|
1996-11-28T19:37:01
|
|
(get_fs_usage): If DISK is 0 and we needed to use
it, return -1 with 0 in ERRNO.
From Miles.
|
|
03703081
|
1996-11-05T03:38:23
|
|
libitize
|
|
d654ce2d
|
1996-11-03T23:53:51
|
|
cpp-indent + change some #ifdef to #if
|
|
60713ffa
|
1996-08-02T03:25:10
|
|
(get_fs_usage) [STAT_STATFS4] [_CRAY]: Define f_bavail to f_bfree.
From by Johan Danielsson.
|
|
8d53f755
|
1996-07-31T04:43:59
|
|
[HAVE_SYS_FS_S5PARAM_H]: Include sys/fs/s5param.h
to work around bug in sys/filsys.h of Fujitsu UXP/V.
Reported by Johan Danielsson.
|
|
6d8337bf
|
1996-07-15T03:36:16
|
|
update FSF address in copyright
|
|
7d358b25
|
1996-05-23T13:04:03
|
|
[_CRAY]: Don't include sys/filsys.h because although
Unicos-9 has it, it's not needed and would cause other problems
because it requires inclusion of other, non-standard headers.
|
|
ff5d019a
|
1996-05-17T03:16:34
|
|
(get_fs_usage): Declare parameter PATH to be const.
|
|
e2c518e9
|
1995-10-01T22:49:07
|
|
Remove trailing whitespace.
|
|
799b98ef
|
1995-10-01T18:23:29
|
|
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block
counts from f_spare array into proper members of struct statfs.
From Eirik Fuller (eirik@netapp.com);
|
|
47a70ed9
|
1995-05-19T15:23:18
|
|
No longer include safe-l?stat.h.
|
|
63f4e38f
|
1995-05-13T13:06:46
|
|
(statfs): Use stat, not safe_stat.
|
|
849c4387
|
1995-01-27T17:20:54
|
|
(get_fs_usage, statfs): Use safe_read, and safe_stat rather than
bare read and stat.
|
|
535ad0d1
|
1994-10-29T05:06:43
|
|
.
|
|
d01d0a85
|
1994-10-27T13:44:07
|
|
merge with 3.9s
|
|
9d684924
|
1994-10-08T14:52:10
|
|
.
|
|
2f17b5a8
|
1994-10-08T02:04:47
|
|
.
|
|
300424a2
|
1994-10-02T05:43:03
|
|
merge with 3.9h
|
|
68eb0d90
|
1994-07-30T13:13:52
|
|
Use SAFE_STAT instead of stat to avoid unnecessary failure
on systems for which stat can return EINTR.
|
|
456b8699
|
1994-03-16T14:47:59
|
|
(adjust_blocks): Code it as a function again.
|
|
c4a3a40b
|
1994-03-16T14:32:26
|
|
.
|
|
90bc7be6
|
1994-03-14T16:24:52
|
|
.
|
|
e0be8461
|
1994-03-14T14:54:14
|
|
.
|
|
a89ae060
|
1993-10-12T20:24:09
|
|
merge with 3.8.4c
|
|
435871aa
|
1993-10-09T20:43:31
|
|
merge with 3.8.3e
|
|
92a0e357
|
1993-10-06T16:44:42
|
|
merge with 3.8.3b
|
|
de7ba135
|
1993-10-06T00:24:28
|
|
merge with 3.8.3a
|
|
e988749c
|
1993-08-26T04:38:45
|
|
merge with 3.8.2
|
|
3773b1cc
|
1993-05-22T02:09:21
|
|
merge with 3.5.5
|
|
d305484f
|
1993-04-15T01:58:35
|
|
merge with 3.4.7
|
|
b0657895
|
1993-03-29T05:09:24
|
|
merge with 3.4.1
|
|
b0177875
|
1992-10-31T22:50:51
|
|
(adjust_blocks): Convert to a macro. The static
function wasn't always used.
|
|
d87c3946
|
1992-10-31T20:42:48
|
|
Initial revision
|