summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-25Remove 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-22upgrade to automake-1.6fJim 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-11New 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 aboutJim Meyering
`comparison between signed and unsigned'.
2002-09-04*** empty log message ***Jim Meyering
2002-09-04(str2signum, sig2str): Declare loop index variables to beJim 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-31Update from GNU libc.Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-31*** empty log message ***Jim Meyering
2002-08-31Update from GNU libc.Jim Meyering
2002-08-07*** empty log message ***Jim Meyering
2002-08-07(posixtime): Return bool instead of time_t, soJim Meyering
that we can return (time_t) -1 successfully.
2002-08-07Fix 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-27If we have both utmpx.h and utmp.h, and there existsJim 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
2002-07-20Adjust to work with new autoconf macros, AC_FUNC_MALLOCJim Meyering
and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC.
2002-07-20.Jim Meyering
2002-07-20Upgrade to gettext-0.11.3.Jim Meyering
2002-07-15*** empty log message ***Jim Meyering
2002-07-15#undef MNT_IGNORE before defining it, to avoid warning on FreeBSD.Jim Meyering
2002-07-15Include <string.h>.Jim Meyering
2002-07-09*** empty log message ***Jim Meyering
2002-07-09(ME_DUMMY): Don't count entries of type `auto' as dummy ones.Jim Meyering
At least on GNU/Linux systems, `auto' means something else. From Michael Stone.
2002-07-01*** empty log message ***Jim Meyering
2002-07-01Include sys/time.h.Jim Meyering
From Volker Borchert.
2002-06-26*** empty log message ***Jim Meyering
2002-06-26(WIDE_CHAR_SUPPORT): New macro. Use it uniformly instead ofJim Meyering
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H). It also uses HAVE_BTOWC, to fix a porting bug on Solaris 2.5.1 reported by Vin Shelton.
2002-06-26from libcJim Meyering
2002-06-22*** empty log message ***Jim Meyering