summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-08-08*** empty log message ***Jim Meyering
2002-08-07*** empty log message ***Jim Meyering
2002-08-07(main): Adjust to posixtime signature change.Jim Meyering
Remove unnecessary initialization. Use localtime, not posixtm, to warn about obsolete "touch".
2002-08-07(main): Adjust to posixtime signature change.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-08-05Change $am_cv_sys_posix_termios to $ac_cv_sys_posix_termios.Jim Meyering
From Andreas Schwab.
2002-08-05*** empty log message ***Jim Meyering
2002-08-05*** empty log message ***Jim Meyering
2002-08-05*** empty log message ***Jim Meyering
2002-08-05Also change use of $am_cv_sys_posix_termiosJim Meyering
to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2002-08-05.Jim Meyering
2002-08-05*** empty log message ***Jim Meyering
2002-08-05(TESTS): Add nice and pathchk1.Jim Meyering
2002-08-05.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04(check-README): New target/rule.Jim Meyering
(check): Depend on it.
2002-08-04*** empty log message ***Jim Meyering
2002-08-04(AC_CONFIG_FILES): Add old/Makefile and old/*/Makefile.Jim Meyering
2002-08-04.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-03*** empty log message ***Jim Meyering
2002-08-03(SUBDIRS): Add old.Jim Meyering
2002-08-03.Jim Meyering
2002-08-03.Jim Meyering
2002-08-03*** empty log message ***Jim Meyering
2002-08-03(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Set to false.Jim Meyering
2002-08-03*** empty log message ***Jim Meyering
2002-08-03*** empty log message ***Jim Meyering
2002-08-03*** empty log message ***Jim Meyering
2002-08-03Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.Jim Meyering
2002-08-03*** empty log message ***Jim Meyering
2002-08-02*** empty log message ***Jim Meyering
2002-08-02uniq now obeys LC_COLLATE.Jim Meyering
2002-08-02*** empty log message ***Jim Meyering
2002-08-02Include hard-locale.h, xmemcoll.h.Jim Meyering
(hard_LC_COLLATE): New var. (different): Args are now char *, not const char *. Use xmemcoll instead of memcmp to compare lines, so that LC_COLLATE has effect. However, use memcmp if it is an easy locale. (check_file): Do not include newline in comparison, so that xmemcoll has a byte to stomp on temporarily. (main): Set hard_LC_COLLATE.
2002-08-01*** empty log message ***Jim Meyering
2002-08-01*** empty log message ***Jim Meyering
2002-08-01(run_shell): Exit with status 126 or 127 when execvp orJim Meyering
execv fails, for consistency with POSIX commands like env and nice.