summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-08-09Regenerate.Paul Eggert
2004-08-09Remove dependency of xalloc on error, etc.Paul Eggert
2004-08-09Finish renaming sha -> sha1.Paul Eggert
2004-08-07Merge from gnulib.Paul Eggert
2004-08-05Regenerate.Paul Eggert
2004-08-05Sync from gnulib.Paul Eggert
2004-08-04Fixes for OpenBSD 3.4.Paul Eggert
2004-08-04(SIZE_MAX): Define after including files, to avoidPaul Eggert
a collision on OpenBSD 3.4.
2004-08-04(LONGEST_MODIFIER): New macro.Paul Eggert
(PRIuMAX) [!PRI_MACROS_BROKEN && !defined PRIuMAX]: New macro. (find_matching_ancestor): Use it for dev_t and ino_t.
2004-08-04Sync from gnulib.Paul Eggert
2004-08-04Work around bug in OpenBSD 3.4 sterror_r: itPaul Eggert
sometimes returns a positive errno value even when it succeeds. (print_errno_message) [!LIBC]: Fall back on strerror if __strerror_r fails.
2004-08-02Include limits.h, stdbool.h.Paul Eggert
(CHAR_BIT): Remove. (timespec_subtract, xnanosleep): Use bool for booleans.
2004-08-02unsigned -> unsigned intPaul Eggert
2004-08-02unsigned -> unsigned intPaul Eggert
2004-08-02Include <stdbool.h>.Paul Eggert
(yesno): Return bool, not int.
2004-08-02Include yesno.h first.Paul Eggert
(yesno): Return bool, not int.
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
(__xstrtol): Rewrite to avoid casts.
2004-08-02Just include xstrtol.h rather than rolling our own include pattern.Paul Eggert
2004-08-02Just include xstrtol.h rather than rolling our own include pattern.Paul Eggert
2004-08-02Log today's int-related changesPaul Eggert
2004-08-02(version_etc_va): Use size_t for sizes.Paul Eggert
2004-08-02Include <stdbool.h>.Paul Eggert
(same_name): Return bool, not int.
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
(same_name): Return bool, not int.
2004-08-02Rewrite to avoid casts.Paul Eggert
2004-08-02Include stdbool.h.Paul Eggert
(quotearg_buffer_restyled): Use bool for booleans.
2004-08-02nanosleep.c (errno): Remove decl; we now assume C89 or better.Paul Eggert
Include stdbool.h. (rpl_nanosleep): Usee bool for booleans.
2004-08-02Use Autoconf-suggested pattern for inttypes and stdint.Paul Eggert
2004-08-02Update copyright.Paul Eggert
2004-08-02Use Autoconf-suggested pattern for inttypes and stdint.Paul Eggert
2004-08-02Use Autoconf-suggested pattern for inttypes and stdint.Paul Eggert
2004-08-02(hash_string): Rewrite to avoid cast.Paul Eggert
2004-08-02Include <stdbool.h>.Paul Eggert
(hard_locale): Return bool, not int.
2004-08-02hard-locale.c (hard_locale): Return bool, not int.Paul Eggert
2004-08-02Include <stdbool.h>.Paul Eggert
(getloadavg_initialized): Use bool for booleans.
2004-08-02(lookup_word): Rewrite to avoid cast.Paul Eggert
2004-08-02(textutils_fileblocks_unused): Make it a typedefPaul Eggert
instead of an int, to save a few bytes in the object file.
2004-08-02Update copyright.Paul Eggert
2004-08-02(enum canonicalize_mode_t): Reformat comments to fit in 80 columns.Paul Eggert
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
2004-08-02(xstrtod): Return bool, not int. Invert the sense of the boolean.Paul Eggert
All uses changed.
2004-08-02(xstrtod): Return bool, not int. Invert the sense of the boolean.Paul Eggert
All uses changed.
2004-08-02Don't include <sys/types.h> or "exit.h"; no longer needed.Paul Eggert
(errno): Remove decl; we now assume C89 or better. Include unistd.h if available, for gethostname. (ENAMETOOLONG): Define to 0, not 9999, to avoid colliding with existing errno values if any. (gethostname): Remove decl, since unistd.h declares it (or doesn't, in which case it's an older system and it should just work). (xgethostname): Don't assume host name length is less than INT_MAX. Exit if malloc fails, just as the comment says.
2004-08-02Include <stdbool.h>.Paul Eggert
(errno): Remove decl; we now assume C89 or better. (save_cwd): Use bool for booleans. (save_cwd, restore_cwd): Return -1 on failure, not 1, since we set errno on failure.
2004-08-02(read_utmp): Don't assume that the number of users is less than INT_MAX.Paul Eggert
Check for integer overflow in size calculations. Return -1 (not 1) on failure, since we set errno in that case.
2004-08-02(UT_USER): Parenthesize properly.Paul Eggert
(UT_USER_SIZE): New constant. (read_utmp): Don't assume that the number of users is less than INT_MAX.
2004-08-02(posix_time_parse): Don't assume that the length ofPaul Eggert
the string being parsed is <= UINT_MAX.
2004-08-02(read_file_system_list): Accept bool flag, not int.Paul Eggert
(errno): Remove decl; we now assume C89 or better. (xatoi): Remove; replaced by strtoul. Hence device numbers can now go up to ULONG_MAX.
2004-08-02Include <stdbool.h>.Paul Eggert
(read_file_system_list): Accept bool flag, not int.
2004-08-02Regenerate.Paul Eggert
2004-08-02No longer needed by 'install', so remove it.Paul Eggert