Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-10-19 | *** empty log message *** | Jim Meyering | |
2002-10-19 | Rewrite to support locale-specific | Jim Meyering | |
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 | *** empty log message *** | Jim Meyering | |
2002-10-19 | *** empty log message *** | Jim Meyering | |
2002-10-19 | (libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c, umaxtostr.c. | Jim Meyering | |
(EXTRA_DIST): Add inttostr.c. | |||
2002-10-19 | New files. From GNU tar. | Jim Meyering | |
2002-10-13 | *** empty log message *** | Jim Meyering | |
2002-10-13 | (initialized): Remove declaration now that it's unused. | Jim Meyering | |
2002-10-13 | There's no need to futz with the rounding mode, | Jim Meyering | |
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 | . | Jim Meyering | |
2002-10-06 | *** empty log message *** | Jim Meyering | |
2002-10-06 | Update prototype. | Jim Meyering | |
(SAFE_READ_ERROR): Define. | |||
2002-10-06 | (safe_read): Change type of function from ssize_t to size_t. | Jim Meyering | |
2002-10-05 | . | Jim Meyering | |
2002-09-29 | . | Jim Meyering | |
2002-09-28 | *** empty log message *** | Jim Meyering | |
2002-09-28 | (make_path): Restore umask *before* creating the final component. | Jim Meyering | |
2002-09-26 | *** empty log message *** | Jim Meyering | |
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 | *** empty log message *** | Jim Meyering | |
2002-09-25 | Remove unneeded parentheses around operands of `defined'. | Jim Meyering | |
2002-09-25 | *** empty log message *** | Jim Meyering | |
2002-09-25 | (safe_read): Make comment more precise: upon error, it returns -1. | Jim Meyering | |
2002-09-22 | (make_path): Minor reformatting. | Jim Meyering | |
2002-09-22 | upgrade to automake-1.6f | Jim Meyering | |
2002-09-15 | *** empty log message *** | Jim Meyering | |
2002-09-15 | (xnanosleep): Return -1 on failure, not 1, for consistency with nanosleep. | Jim Meyering | |
Check errno after nanosleep returns -1. | |||
2002-09-12 | . | Jim Meyering | |
2002-09-11 | *** empty log message *** | Jim Meyering | |
2002-09-11 | (libfetish_a_SOURCES): Add xnanosleep.c and xnanosleep.h. | Jim Meyering | |
2002-09-11 | New files, factored out of sleep.c. | Jim Meyering | |
2002-09-04 | *** empty log message *** | Jim Meyering | |
2002-09-04 | (addext): Add a cast to avoid gcc's warning about | Jim Meyering | |
`comparison between signed and unsigned'. | |||
2002-09-04 | *** empty log message *** | Jim Meyering | |
2002-09-04 | (str2signum, sig2str): Declare loop index variables to be | Jim Meyering | |
of type size_t so that they match type of upper bound, thus avoiding warning about `comparison between signed and unsigned'. | |||
2002-08-31 | *** empty log message *** | Jim Meyering | |
2002-08-31 | Update from GNU libc. | Jim Meyering | |
2002-08-31 | Update from GNU libc. | Jim Meyering | |
2002-08-31 | Update from GNU libc. | Jim Meyering | |
2002-08-31 | *** empty log message *** | Jim Meyering | |
2002-08-31 | Update from GNU libc. | Jim Meyering | |
2002-08-07 | *** empty log message *** | Jim Meyering | |
2002-08-07 | (posixtime): Return bool instead of time_t, so | Jim Meyering | |
that we can return (time_t) -1 successfully. | |||
2002-08-07 | Fix some minor time-related bugs with POSIX time arguments. | Jim Meyering | |
Some valid time stamps were being rejected (notably -1, and time stamps before 1900 on 64-bit hosts). And some invalid time stamps were being accepted, e.g. September 31. * lib/posixtm.h (posixtime): Return bool instead of time_t, so that we can return (time_t) -1 successfully. * lib/posixtm.c: Likewise. [HAVE_STDBOOL_H]: Include <stdbool.h>. (bool, false, true) [!HAVE_STDBOOL_H]: New type. (t): Remove static var. (year, posix_time_parse): Now takes struct tm * arg to modify, instead of static var. All uses changed. (year): Do not reject years before 1900; they can occur with 64-bit time_t. (posix_time_parse): Do not check for out-of-range components; that is now the caller's responsibility, since our checks were only approximations. (posixtime): Use mktime to check for out-of-range components, since it knows them exactly. If mktime returns (time_t) -1, check whether an error actually occurred by invoking localtime on -1. (main) [TEST_POSIXTIME]: Check for input data errors, and report posixtime failures better. Improve the test data (in comments only). | |||
2002-07-28 | . | Jim Meyering | |
2002-07-27 | . | Jim Meyering | |
2002-07-27 | If we have both utmpx.h and utmp.h, and there exists | Jim Meyering | |
the utmp.ut_exit member, but not the utmpx.ut_exit member, then undefine HAVE_UTMPX_H. For AIX 4.3.3. Doing all this in cpp is a big kludge; someday we'll put the brains in an autoconf macro. (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define. | |||
2002-07-20 | . | Jim Meyering | |
2002-07-20 | . | Jim Meyering | |
2002-07-20 | . | Jim Meyering | |