summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-10-21Prevent a counter buffer overrun when numbering lines and whenJim Meyering
processing 100 billion lines (or more) of input. (LINE_COUNTER_BUF_LEN): Define to allow numbering as many as 10^18 - 1 lines (the old limit was 10^11 - 1, and could be exceeded without too much trouble). Use this symbol rather than hard-coding the constant everywhere. Rather than overruning for input with more lines, mark the line number by putting a `>' in the leftmost slot. (next_line_num): Fixed (now academic) possible line buffer overrun. Patch by Jan Nieuwenhuizen.
2000-10-21*** empty log message ***Jim Meyering
2000-10-21*** empty log message ***Jim Meyering
2000-10-21*** empty log message ***Jim Meyering
2000-10-21(SORT_OUT_OF_ORDER): Define.Jim Meyering
(main): Use it instead of hard-coding the `1'.
2000-10-21(main): Use EXIT_SUCCESS rather than 0.Jim Meyering
Fail when checking (-c) with more than one file argument, rather than simply ignoring the extra arguments.
2000-10-21tweak commentJim Meyering
2000-10-21(dir_name_r): New function, factored out of dir_name.Jim Meyering
(dir_name): Use dir_name_r.
2000-10-21*** empty log message ***Jim Meyering
2000-10-21(memrchr): Declare if necessary.Jim Meyering
(dir_name): Remove the restriction that there be no trailing slashes. Now, this code skips past them, effectively ignoring them. [TEST_DIRNAME] (main): New unit tests.
2000-10-21*** empty log message ***Jim Meyering
2000-10-21(jm_PREREQ_DIRNAME): New macro.Jim Meyering
2000-10-21(AC_REPLACE_FUNCS): Add memrchr.Jim Meyering
2000-10-21(jm_CHECK_DECLS): Also check for memrchr.Jim Meyering
2000-10-21*** empty log message ***Jim Meyering
2000-10-21New file, derived from the one in GNU libc.Jim Meyering
2000-10-19.Jim Meyering
2000-10-19Update from master repository.Jim Meyering
2000-10-18*** empty log message ***Jim Meyering
2000-10-18(universal_time): Remove; it's just a temptation to do the wrong thing.Jim Meyering
(main): The -u option now just sets TZ; it doesn't do anything else. (show_date): Do not do anything special if -u is set. This affects the behavior of the -I and -R options.
2000-10-18* src/date.c (universal_time): Remove; it's just a temptation toJim Meyering
do the wrong thing. (main): The -u option now just sets TZ; it doesn't do anything else. (show_date): Do not do anything special if -u is set. This affects the behavior of the -I and -R options. * doc/sh-utils.texi: Document the above.
2000-10-18Undo the effect of the 1997-07-12 change to date.c; itJim Meyering
broke "date -u MMDDhhmm" and it wasn't documented. This reverts to the behavior of the 1996-01-03 patch. (utc-0, utc-1, relative-2): Adjust to above change.
2000-10-18Undo the effect of the 1997-07-12 change to date.c; itJim Meyering
broke "date -u MMDDhhmm" and it wasn't documented. This reverts to the behavior of the 1996-01-03 patch. (TZ_UTC0, MAYBE_SET_TZ_UTC0, set_tz): Remove. (batch_convert): Don't futz with TZ. (main): -u now parses all dates as UTC, not just some.
2000-10-18space to tabJim Meyering
2000-10-18*** empty log message ***Jim Meyering
2000-10-18(Examples of date): Fix a typo.Jim Meyering
2000-10-18*** empty log message ***Jim Meyering
2000-10-18Make sure the programs use C-locale formatsJim Meyering
and translations. Bruno Haible reported that this test would fail when using other locales, because ls printed a translation of `total'.
2000-10-17*** empty log message ***Jim Meyering
2000-10-17*** empty log message ***Jim Meyering
2000-10-17*** empty log message ***Jim Meyering
2000-10-17[PARAMS]: Define and use.Jim Meyering
2000-10-17*** empty log message ***Jim Meyering
2000-10-17Update from libc.Jim Meyering
2000-10-16*** empty log message ***Jim Meyering
2000-10-16*** empty log message ***Jim Meyering
2000-10-16*** empty log message ***Jim Meyering
2000-10-16*** empty log message ***Jim Meyering
2000-10-16fix spell-o in commentJim Meyering
2000-10-16(rm_option_init): Remove FIXME-maybe comment.Jim Meyering
2000-10-16.Jim Meyering
2000-10-16*** empty log message ***Jim Meyering
2000-10-16*** empty log message ***Jim Meyering
2000-10-16(hard_locale): Use "", not 0 as 2nd arg to setlocale.Jim Meyering
From Jan Fedak.
2000-10-15.Jim Meyering
2000-10-12.Jim Meyering
2000-10-12(Time directives) [%S]: Range is 0..60, not 0..61.Jim Meyering
2000-09-30*** empty log message ***Jim Meyering
2000-09-30*** empty log message ***Jim Meyering
2000-09-30(main): Rename local `symbolic_mode' to `specified_mode'.Jim Meyering