Jim Meyering
99ad3e326a
.
2002-11-10 11:12:13 +00:00
Jim Meyering
34ed452d0a
Use a return stmt. This isn't Perl.
2002-11-10 09:51:37 +00:00
Jim Meyering
a0a7aef8bd
Duh. add missing semicolon
...
Include unistd.h.
2002-11-10 09:50:59 +00:00
Jim Meyering
bd03362ebb
*** empty log message ***
2002-11-10 09:44:05 +00:00
Jim Meyering
bb1c17a762
.
2002-11-09 22:01:56 +00:00
Jim Meyering
f559a4c800
(human_readable): Revamp to avoid warning about unused
...
variable 'amt'. Unfortunately this means using some gotos.
2002-11-09 21:46:45 +00:00
Jim Meyering
24ba72493d
use only my permanent address
2002-11-08 17:12:51 +00:00
Jim Meyering
7676cbc5ce
*** empty log message ***
2002-11-08 15:33:58 +00:00
Jim Meyering
554ecec785
(human_readable): Avoid warnings from gcc -Wshadow.
2002-11-08 15:33:30 +00:00
Jim Meyering
def6c2371e
.
2002-11-06 11:37:47 +00:00
Jim Meyering
2fbdabd4b1
*** empty log message ***
2002-11-06 11:37:15 +00:00
Jim Meyering
a6bc63bae0
(EXTRA_DIST): Add inttostr.h.
2002-11-06 11:37:11 +00:00
Jim Meyering
d3f010cb21
*** empty log message ***
2002-10-19 13:49:38 +00:00
Jim Meyering
dce67bd261
Rewrite to support locale-specific
...
notations like thousands separators.
Specify what includer of include.h must include beforehand.
(human_group_digits, human_suppress_point_zero, human_autoscale,
human_base_1024, human_SI, human_B): New enum values.
(human_readable): Rename from human_readable_inexact; put the
options before the sizes. All uses changed. The old human_readable
function has been removed; use inttostr.h instead.
(human_options): Renamed from human_block_size, with new signature
that allows block sizes up to UINTMAX_MAX. All callers changed.
2002-10-19 13:48:04 +00:00
Jim Meyering
4774c63a5e
*** empty log message ***
2002-10-19 12:55:11 +00:00
Jim Meyering
f02ba67bbb
*** empty log message ***
2002-10-19 12:54:29 +00:00
Jim Meyering
a967adb215
(libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c, umaxtostr.c.
...
(EXTRA_DIST): Add inttostr.c.
2002-10-19 12:54:23 +00:00
Jim Meyering
927bbc5cc3
New files. From GNU tar.
2002-10-19 12:34:03 +00:00
Jim Meyering
25797575f8
*** empty log message ***
2002-10-13 12:23:29 +00:00
Jim Meyering
ff4e2725a7
(initialized): Remove declaration now that it's unused.
2002-10-13 12:23:25 +00:00
Jim Meyering
bd9e754992
There's no need to futz with the rounding mode,
...
since the code should work properly even in the default rounding mode.
(<fenv.h>): Do not include.
(#pragma STDC FENV_ACCESS ON): Remove.
(xnanosleep): Don't futz with rounding state.
2002-10-13 12:22:26 +00:00
Jim Meyering
331dd19c54
.
2002-10-13 06:47:23 +00:00
Jim Meyering
f99d9f8109
*** empty log message ***
2002-10-06 14:55:17 +00:00
Jim Meyering
926546dcac
Update prototype.
...
(SAFE_READ_ERROR): Define.
2002-10-06 14:55:12 +00:00
Jim Meyering
e70e42fa66
(safe_read): Change type of function from ssize_t to size_t.
2002-10-06 14:55:01 +00:00
Jim Meyering
55c73b9516
.
2002-10-05 17:02:43 +00:00
Jim Meyering
a3b479c91f
.
2002-09-29 08:44:36 +00:00
Jim Meyering
cd6ee8563b
*** empty log message ***
2002-09-28 07:55:16 +00:00
Jim Meyering
ddb038c033
(make_path): Restore umask *before* creating the final component.
2002-09-28 07:55:08 +00:00
Jim Meyering
2c6d700418
*** empty log message ***
2002-09-26 08:20:32 +00:00
Jim Meyering
4b0eb25d6d
[! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
...
(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-26 08:18:33 +00:00
Jim Meyering
619a52f976
*** empty log message ***
2002-09-25 11:45:42 +00:00
Jim Meyering
b5a4f7671a
Remove unneeded parentheses around operands of `defined'.
2002-09-25 11:45:37 +00:00
Jim Meyering
d711a9e3be
*** empty log message ***
2002-09-25 08:29:57 +00:00
Jim Meyering
029b8ea75d
(safe_read): Make comment more precise: upon error, it returns -1.
2002-09-25 08:29:53 +00:00
Jim Meyering
8683024a34
(make_path): Minor reformatting.
2002-09-22 07:40:28 +00:00
Jim Meyering
7b355ee476
upgrade to automake-1.6f
2002-09-22 06:34:18 +00:00
Jim Meyering
e13f998e3d
*** empty log message ***
2002-09-15 06:52:35 +00:00
Jim Meyering
ec317bd993
(xnanosleep): Return -1 on failure, not 1, for consistency with nanosleep.
...
Check errno after nanosleep returns -1.
2002-09-15 06:52:29 +00:00
Jim Meyering
a4d28ef145
.
2002-09-12 12:14:58 +00:00
Jim Meyering
d7a4a48c83
*** empty log message ***
2002-09-11 11:35:18 +00:00
Jim Meyering
aa6f330821
(libfetish_a_SOURCES): Add xnanosleep.c and xnanosleep.h.
2002-09-11 11:35:12 +00:00
Jim Meyering
079eb6b3d1
New files, factored out of sleep.c.
2002-09-11 11:34:20 +00:00
Jim Meyering
1a71d84326
*** empty log message ***
2002-09-04 07:53:56 +00:00
Jim Meyering
de68469582
(addext): Add a cast to avoid gcc's warning about
...
`comparison between signed and unsigned'.
2002-09-04 07:53:42 +00:00
Jim Meyering
8b4aebd031
*** empty log message ***
2002-09-04 07:41:34 +00:00
Jim Meyering
6c0a2cd041
(str2signum, sig2str): Declare loop index variables to be
...
of type size_t so that they match type of upper bound, thus avoiding
warning about `comparison between signed and unsigned'.
2002-09-04 07:41:11 +00:00
Jim Meyering
f7e3d9b0f2
*** empty log message ***
2002-08-31 16:59:23 +00:00
Jim Meyering
b0231a2f03
Update from GNU libc.
2002-08-31 16:59:12 +00:00
Jim Meyering
a5f8422570
Update from GNU libc.
2002-08-31 16:54:45 +00:00