Jim Meyering [Wed, 1 Sep 1999 13:28:21 +0000 (13:28 +0000)]
Remove declaration of xstrdup.
Jim Meyering [Wed, 1 Sep 1999 13:16:46 +0000 (13:16 +0000)]
(version_etc_copyright): Declare it.
Jim Meyering [Wed, 1 Sep 1999 13:15:11 +0000 (13:15 +0000)]
(version_etc_copyright): Default copyright string.
(version_etc): Use it.
Jim Meyering [Wed, 1 Sep 1999 13:09:19 +0000 (13:09 +0000)]
(xalloc_fail_func): Use `PARAMS'.
Jim Meyering [Tue, 31 Aug 1999 20:46:40 +0000 (20:46 +0000)]
*** empty log message ***
Jim Meyering [Tue, 31 Aug 1999 20:46:18 +0000 (20:46 +0000)]
Add .rpm, .png, and .fli.
From Andres Soolo.
Jim Meyering [Mon, 30 Aug 1999 15:05:34 +0000 (15:05 +0000)]
*** empty log message ***
Jim Meyering [Mon, 30 Aug 1999 14:59:37 +0000 (14:59 +0000)]
.
Jim Meyering [Mon, 30 Aug 1999 14:59:08 +0000 (14:59 +0000)]
.
Jim Meyering [Mon, 30 Aug 1999 14:44:10 +0000 (14:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 30 Aug 1999 14:43:52 +0000 (14:43 +0000)]
(longopts): Restore accidentally-removed entry for `--portability' long option.
Jim Meyering [Mon, 30 Aug 1999 14:41:05 +0000 (14:41 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:39:05 +0000 (14:39 +0000)]
split a long line.
Jim Meyering [Mon, 30 Aug 1999 14:38:00 +0000 (14:38 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:37:40 +0000 (14:37 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:36:26 +0000 (14:36 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:36:06 +0000 (14:36 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:35:45 +0000 (14:35 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:35:20 +0000 (14:35 +0000)]
(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:34:09 +0000 (14:34 +0000)]
.
Jim Meyering [Mon, 30 Aug 1999 14:33:39 +0000 (14:33 +0000)]
.
Jim Meyering [Mon, 30 Aug 1999 14:31:16 +0000 (14:31 +0000)]
.
Jim Meyering [Mon, 30 Aug 1999 14:30:28 +0000 (14:30 +0000)]
.
Jim Meyering [Sun, 29 Aug 1999 21:13:46 +0000 (21:13 +0000)]
.
Jim Meyering [Sun, 29 Aug 1999 21:10:22 +0000 (21:10 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 21:09:34 +0000 (21:09 +0000)]
(main): Call exit explicitly to avoid warning from gcc.
Include "xstrtol.h".
(isinteger): Remove function and prototype.
(main): Use xstrtol in place of atoi. Remove associated FIXME comments.
Jim Meyering [Sun, 29 Aug 1999 20:49:07 +0000 (20:49 +0000)]
(isinteger): Move definition to precede use. Remove prototype.
Jim Meyering [Sun, 29 Aug 1999 20:47:17 +0000 (20:47 +0000)]
(main): Call exit explicitly to avoid warning from gcc.
Jim Meyering [Sun, 29 Aug 1999 20:45:50 +0000 (20:45 +0000)]
(main): Call exit explicitly to avoid warning from gcc.
Jim Meyering [Sun, 29 Aug 1999 20:42:42 +0000 (20:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:40:15 +0000 (20:40 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:40:00 +0000 (20:40 +0000)]
Require jm_BISON.
Jim Meyering [Sun, 29 Aug 1999 20:37:25 +0000 (20:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:35:16 +0000 (20:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:05:07 +0000 (20:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 19:54:09 +0000 (19:54 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:55:24 +0000 (14:55 +0000)]
(relative_time_table): Change `type' of `THIS' from
tMINUTE_UNIT to tUNUMBER. From Urs Thuermann.
Jim Meyering [Sun, 29 Aug 1999 14:49:06 +0000 (14:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:46:35 +0000 (14:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:46:25 +0000 (14:46 +0000)]
(test_vector): Add a test for the Risks-reported problem with `Nov 11 1996'.
Jim Meyering [Sun, 29 Aug 1999 14:37:40 +0000 (14:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:36:48 +0000 (14:36 +0000)]
(test_vector): Add tests for use of `this'.
Jim Meyering [Sun, 29 Aug 1999 12:55:35 +0000 (12:55 +0000)]
(get_date): Rename latter local `tm' to probe_tm.
Jim Meyering [Sun, 29 Aug 1999 12:28:56 +0000 (12:28 +0000)]
(get_date): Rename outermost local `probe' to `quarter'.
Jim Meyering [Sun, 29 Aug 1999 07:29:51 +0000 (07:29 +0000)]
Add copyright notice.
(number): Handle `Nov 11 1996' example; see Risks Digest 20.55
http://catless.ncl.ac.uk/Risks/20.55.html#subj18
(1999-08-27)
(<stdio.h>): Include only if testing.
(ISUPPER): Remove.
(ISLOWER, PC): New macros.
(<string.h>): Include if HAVE_STRING_H, not USG.
(bcopy): Remove.
(yymaxdepth, ..., yycheck): Don't bother to redefine, since we assume
bison.
(EPOCH_YEAR): Renamed from EPOCH.
(table): Renamed from TABLE.
(meridian): Now an anonymous enum.
(struct parser_control): New type.
(YYLEX_PARAM, YYPARSE_PARAM, YYSTYPE): New macros.
(yyInput, ..., yyRelYear): Migrated into struct parser_control.
(%pure_parser): Added, so that the parser is pure.
(%union): Removed; the type is now just plain int.
All %type directives removed.
(tLOCAL_ZONE): New %token.
(month_day_table): Renamed from MonthDayTable.
(gmtime, localtime, mktime, time): Declare only if not defined.
(meridian_table): New table.
(dst_table): New table.
(units_table): renamed from UnitsTable.
(relative_time_table): Renamed from OtherTable.
(time_zone_table): Renamed from TimezoneTable. Modernized data.
(military_table): Renamed from MilitaryTable.
(to_hour): Renamed from ToHour.
(to_year): Renamed from ToYear.
(lookup_zone): New function.
(LookupWord): Renamed from lookup_word.
Use lookup_zone for time zones.
(yylex): Now reentrant. All callers changed.
(get_date): Add support for local time zone abbreviations.
Make it reentrant.
Jim Meyering [Wed, 25 Aug 1999 15:41:52 +0000 (15:41 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:28:45 +0000 (16:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:28:26 +0000 (16:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:23:28 +0000 (16:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:10:24 +0000 (16:10 +0000)]
(detect_loop): There's no loop if k->top is NULL.
Jim Meyering [Sun, 22 Aug 1999 16:09:29 +0000 (16:09 +0000)]
Add a few more tests.
Jim Meyering [Sun, 22 Aug 1999 15:58:28 +0000 (15:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 15:58:06 +0000 (15:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 15:55:41 +0000 (15:55 +0000)]
Rewrite to use Fetish.pm-based framework.
Jim Meyering [Sun, 22 Aug 1999 15:54:35 +0000 (15:54 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 15:53:59 +0000 (15:53 +0000)]
.
Jim Meyering [Sun, 22 Aug 1999 11:34:56 +0000 (11:34 +0000)]
tweak comment
Jim Meyering [Sun, 22 Aug 1999 11:31:08 +0000 (11:31 +0000)]
(check_file): Explain why we have separate `if' and `else'
blocks when the code in the else block could handle both cases.
Jim Meyering [Sun, 22 Aug 1999 11:17:47 +0000 (11:17 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 11:17:42 +0000 (11:17 +0000)]
(check_file): Generate each line of output earlier,
when possible. It is possible when using none of these options:
--count, -repeated, --all-repeated, --unique.
Based on a patch from Ian Turner.
(check_file): Move declarations of local variables into the scopes where used.
(min): Remove macro definition.
(different): Use MIN, not min.
(SWAP_LINES): New macro.
(check_file): Use it here.
Jim Meyering [Sun, 22 Aug 1999 11:04:23 +0000 (11:04 +0000)]
.
Jim Meyering [Sun, 22 Aug 1999 11:03:57 +0000 (11:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 11:03:32 +0000 (11:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 11:02:39 +0000 (11:02 +0000)]
Escape backslashes so tr's manual comes out right.
Reported by Andreas Schwab.
Jim Meyering [Sun, 22 Aug 1999 10:58:31 +0000 (10:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:57:51 +0000 (10:57 +0000)]
(ATTRIBUTE_NORETURN): Define.
Jim Meyering [Sun, 22 Aug 1999 10:57:40 +0000 (10:57 +0000)]
Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE.
Jim Meyering [Sun, 22 Aug 1999 10:53:37 +0000 (10:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:53:13 +0000 (10:53 +0000)]
(run_shell): Declare with noreturn attribute.
Use an explicit exit(1) rather than doing that through error.
Jim Meyering [Sun, 22 Aug 1999 10:22:06 +0000 (10:22 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:21:36 +0000 (10:21 +0000)]
(main): Rename locals i and j.
Use IF_LINT macro instead of #ifdef lint...
Jim Meyering [Sun, 22 Aug 1999 10:19:56 +0000 (10:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:19:35 +0000 (10:19 +0000)]
(validate_path): Use IF_LINT macro instead of #ifdef lint.
Jim Meyering [Sun, 22 Aug 1999 10:19:15 +0000 (10:19 +0000)]
(batch_convert): Use IF_LINT macro instead of #ifdef lint.
Jim Meyering [Sun, 22 Aug 1999 09:51:20 +0000 (09:51 +0000)]
(dump): Use IF_LINT macro instead of #ifdef lint...
(main): Likewise.
Jim Meyering [Sun, 22 Aug 1999 09:50:56 +0000 (09:50 +0000)]
(paste_parallel): Use IF_LINT macro instead of #ifdef lint...
Jim Meyering [Sun, 22 Aug 1999 09:50:31 +0000 (09:50 +0000)]
(read_line): Use IF_LINT macro instead of #ifdef lint...
Jim Meyering [Sun, 22 Aug 1999 09:50:05 +0000 (09:50 +0000)]
(checkfp): Use IF_LINT macro instead of #ifdef lint...
(mergefps): Likewise.
Jim Meyering [Sun, 22 Aug 1999 09:45:52 +0000 (09:45 +0000)]
(usage): Correct bug-reporting email address.
(tsort): Remove trailing `\n' in error format.
Jim Meyering [Sun, 22 Aug 1999 09:43:48 +0000 (09:43 +0000)]
(IF_LINT): Define new macro.
Jim Meyering [Sun, 22 Aug 1999 09:43:25 +0000 (09:43 +0000)]
(md5_check): Remove trailing `\n' in error format.
Jim Meyering [Sun, 22 Aug 1999 08:57:37 +0000 (08:57 +0000)]
(SWAP_LINES): New macro.
(check_file): Use it here.
[really remove min macro, this time]
Jim Meyering [Sun, 22 Aug 1999 08:48:45 +0000 (08:48 +0000)]
(writeline): Constify a char*.
Jim Meyering [Sun, 22 Aug 1999 08:48:06 +0000 (08:48 +0000)]
(cksum): Constify a char*.
Jim Meyering [Sun, 22 Aug 1999 08:47:00 +0000 (08:47 +0000)]
*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 08:46:33 +0000 (08:46 +0000)]
(parse_integer): Add `const' to char* parameter and
add a separate `suffix' variable.
Jim Meyering [Sun, 22 Aug 1999 08:16:34 +0000 (08:16 +0000)]
(check_file): Move declarations of local variables
into the scopes where they're used.
(min): Remove macro definition.
(different): Use MIN, not min.
Jim Meyering [Sat, 21 Aug 1999 20:26:25 +0000 (20:26 +0000)]
*** empty log message ***
Jim Meyering [Sat, 21 Aug 1999 20:26:18 +0000 (20:26 +0000)]
(usage): Remove the ` [-v]' from the Usage: line.
Jim Meyering [Fri, 20 Aug 1999 10:05:46 +0000 (10:05 +0000)]
import latest
Jim Meyering [Fri, 20 Aug 1999 09:02:39 +0000 (09:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 20 Aug 1999 08:58:40 +0000 (08:58 +0000)]
*** empty log message ***
Jim Meyering [Fri, 20 Aug 1999 08:58:34 +0000 (08:58 +0000)]
(usage): Tweak --help output to make it more consistent with that of chgrp.
Jim Meyering [Fri, 20 Aug 1999 08:58:21 +0000 (08:58 +0000)]
(usage): Tweak --help output to make it more consistent with that of chown.
Jim Meyering [Wed, 18 Aug 1999 16:21:16 +0000 (16:21 +0000)]
paste --delimiters: add missing `='
Jim Meyering [Wed, 18 Aug 1999 16:20:03 +0000 (16:20 +0000)]
stty --file: add missing `='
Jim Meyering [Wed, 18 Aug 1999 07:41:39 +0000 (07:41 +0000)]
*** empty log message ***
Jim Meyering [Wed, 18 Aug 1999 07:41:27 +0000 (07:41 +0000)]
(AC_SYS_LARGEFILE): Fix typo: missing comma
in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
Jim Meyering [Tue, 17 Aug 1999 10:17:42 +0000 (10:17 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 10:15:50 +0000 (10:15 +0000)]
source input-tty instead of open-coding it