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
Jim Meyering [Tue, 17 Aug 1999 10:14:23 +0000 (10:14 +0000)]
(EXTRA_DIST): Add input-tty.
Jim Meyering [Tue, 17 Aug 1999 10:13:27 +0000 (10:13 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 08:03:49 +0000 (08:03 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 08:00:19 +0000 (08:00 +0000)]
.
Jim Meyering [Tue, 17 Aug 1999 07:59:12 +0000 (07:59 +0000)]
*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 07:46:10 +0000 (07:46 +0000)]
.
Jim Meyering [Mon, 16 Aug 1999 21:21:39 +0000 (21:21 +0000)]
This change is nearly identical to the chown.c change of 1998-05-24
Accept new option, --dereference.
--no-dereference is now the default. Include lchown.h.
(enum Change_status) [CH_NOT_APPLIED]: New member.
(change_symlinks): Enable this by default, now.
(describe_change): Handle new case.
(change_file_group): Add new parameter: cmdline_arg. Update callers.
Reorganize to reflect changed semantics.
(LCHOWN): Remove definitions.
From Bruno Haible.
Jim Meyering [Mon, 16 Aug 1999 21:20:44 +0000 (21:20 +0000)]
(groupname): Declare to be `const'.
(change_dir_owner): Declare statp parameter to be `const'.
(usage): Make the output be more consistent with that from chgrp.
Jim Meyering [Sun, 15 Aug 1999 18:43:54 +0000 (18:43 +0000)]
factor examples
Jim Meyering [Sun, 15 Aug 1999 12:57:21 +0000 (12:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 15 Aug 1999 12:56:33 +0000 (12:56 +0000)]
--pid vs djgpp
Jim Meyering [Sun, 15 Aug 1999 12:56:00 +0000 (12:56 +0000)]
(ENOSYS): Define to a bogus value if not already defined.
(parse_options): Warn if --pid=PID is used and kill()
returns ENOSYS (e.g. when compiled with DJGPP).
Jim Meyering [Sat, 14 Aug 1999 15:37:41 +0000 (15:37 +0000)]
.
Jim Meyering [Sat, 14 Aug 1999 12:42:56 +0000 (12:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 14 Aug 1999 12:42:03 +0000 (12:42 +0000)]
Fail-77 if stdin is not a tty.
Jim Meyering [Sat, 14 Aug 1999 12:41:34 +0000 (12:41 +0000)]
*** empty log message ***
Jim Meyering [Fri, 13 Aug 1999 08:51:42 +0000 (08:51 +0000)]
*** empty log message ***
Jim Meyering [Fri, 13 Aug 1999 08:02:03 +0000 (08:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 13 Aug 1999 07:57:15 +0000 (07:57 +0000)]
.
Jim Meyering [Thu, 12 Aug 1999 15:16:12 +0000 (15:16 +0000)]
*** empty log message ***
Jim Meyering [Thu, 12 Aug 1999 15:16:04 +0000 (15:16 +0000)]
Document how to ignore newline during sort
Jim Meyering [Thu, 12 Aug 1999 15:15:49 +0000 (15:15 +0000)]
*** empty log message ***
Jim Meyering [Tue, 10 Aug 1999 11:02:10 +0000 (11:02 +0000)]
*** empty log message ***
Jim Meyering [Tue, 10 Aug 1999 11:00:58 +0000 (11:00 +0000)]
(usage): Add ls --quoting-style=locale.
Jim Meyering [Tue, 10 Aug 1999 11:00:12 +0000 (11:00 +0000)]
(ARGMATCH_QUOTING_STYLE):
Change from escape_quoting_style to locale_quoting_style.
(argmatch_invalid): Use new quotearg_style primitive for simplicity.
Also, use ARGMATCH_QUOTING_STYLE to quote, instead of quoting ourselves.
Jim Meyering [Tue, 10 Aug 1999 10:58:01 +0000 (10:58 +0000)]
(locale_quoting_style): New enum value.
(quotearg_n_style, quotearg_style): New decls.
Jim Meyering [Tue, 10 Aug 1999 10:50:18 +0000 (10:50 +0000)]
Include <libintl.h> if ENABLE_NLS.
(_): New macro.
(quoting_style_args, quoting_style_v, quotearg_buffer): Add support
for locale_quoting_style, using _("`") and _("'") for open and close
quote symbols.
Do not quote spaces in escape_quoting_style.
(quotearg_n_style, quotearg_style): New functions.
Jim Meyering [Sun, 8 Aug 1999 20:01:58 +0000 (20:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 8 Aug 1999 20:01:50 +0000 (20:01 +0000)]
(usage): Clarify description of --time=WORD.
Jim Meyering [Sun, 8 Aug 1999 10:18:36 +0000 (10:18 +0000)]
.
Jim Meyering [Sun, 8 Aug 1999 10:16:53 +0000 (10:16 +0000)]
fix typo
Jim Meyering [Sun, 8 Aug 1999 10:15:15 +0000 (10:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 8 Aug 1999 10:15:06 +0000 (10:15 +0000)]
(count_entry): Remove cast of savedir arg.
Jim Meyering [Sun, 8 Aug 1999 10:14:45 +0000 (10:14 +0000)]
(copy_dir): Remove cast of savedir arg.
Jim Meyering [Sun, 8 Aug 1999 10:14:26 +0000 (10:14 +0000)]
(change_dir_owner): Remove cast of savedir arg.