platform/upstream/coreutils.git
25 years agosplit a long line.
Jim Meyering [Mon, 30 Aug 1999 14:39:05 +0000 (14:39 +0000)]
split a long line.

25 years ago(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:38:00 +0000 (14:38 +0000)]
(usage): Correct --help message.

25 years ago(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:37:40 +0000 (14:37 +0000)]
(usage): Correct --help message.

25 years ago(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:36:26 +0000 (14:36 +0000)]
(usage): Correct --help message.

25 years ago(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:36:06 +0000 (14:36 +0000)]
(usage): Correct --help message.

25 years ago(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:35:45 +0000 (14:35 +0000)]
(usage): Correct --help message.

25 years ago(usage): Correct --help message.
Jim Meyering [Mon, 30 Aug 1999 14:35:20 +0000 (14:35 +0000)]
(usage): Correct --help message.

25 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:34:09 +0000 (14:34 +0000)]
.

25 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:33:39 +0000 (14:33 +0000)]
.

25 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:31:16 +0000 (14:31 +0000)]
.

25 years ago.
Jim Meyering [Mon, 30 Aug 1999 14:30:28 +0000 (14:30 +0000)]
.

25 years ago.
Jim Meyering [Sun, 29 Aug 1999 21:13:46 +0000 (21:13 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 21:10:22 +0000 (21:10 +0000)]
*** empty log message ***

25 years ago(main): Call exit explicitly to avoid warning from gcc.
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.

25 years ago(isinteger): Move definition to precede use. Remove prototype.
Jim Meyering [Sun, 29 Aug 1999 20:49:07 +0000 (20:49 +0000)]
(isinteger): Move definition to precede use.  Remove prototype.

25 years ago(main): Call exit explicitly to avoid warning from gcc.
Jim Meyering [Sun, 29 Aug 1999 20:47:17 +0000 (20:47 +0000)]
(main): Call exit explicitly to avoid warning from gcc.

25 years ago(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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:42:42 +0000 (20:42 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:40:15 +0000 (20:40 +0000)]
*** empty log message ***

25 years agoRequire jm_BISON.
Jim Meyering [Sun, 29 Aug 1999 20:40:00 +0000 (20:40 +0000)]
Require jm_BISON.

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:37:25 +0000 (20:37 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:35:16 +0000 (20:35 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 20:05:07 +0000 (20:05 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 19:54:09 +0000 (19:54 +0000)]
*** empty log message ***

25 years ago(relative_time_table): Change `type' of `THIS' from
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:49:06 +0000 (14:49 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:46:35 +0000 (14:46 +0000)]
*** empty log message ***

25 years ago(test_vector): Add a test for the Risks-reported problem with `Nov 11 1996'.
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'.

25 years ago*** empty log message ***
Jim Meyering [Sun, 29 Aug 1999 14:37:40 +0000 (14:37 +0000)]
*** empty log message ***

25 years ago(test_vector): Add tests for use of `this'.
Jim Meyering [Sun, 29 Aug 1999 14:36:48 +0000 (14:36 +0000)]
(test_vector): Add tests for use of `this'.

25 years ago(get_date): Rename latter local `tm' to probe_tm.
Jim Meyering [Sun, 29 Aug 1999 12:55:35 +0000 (12:55 +0000)]
(get_date): Rename latter local `tm' to probe_tm.

25 years ago(get_date): Rename outermost local `probe' to `quarter'.
Jim Meyering [Sun, 29 Aug 1999 12:28:56 +0000 (12:28 +0000)]
(get_date): Rename outermost local `probe' to `quarter'.

25 years agoAdd copyright notice.
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.

25 years ago*** empty log message ***
Jim Meyering [Wed, 25 Aug 1999 15:41:52 +0000 (15:41 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:28:45 +0000 (16:28 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:28:26 +0000 (16:28 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 16:23:28 +0000 (16:23 +0000)]
*** empty log message ***

25 years ago(detect_loop): There's no loop if k->top is NULL.
Jim Meyering [Sun, 22 Aug 1999 16:10:24 +0000 (16:10 +0000)]
(detect_loop): There's no loop if k->top is NULL.

25 years agoAdd a few more tests.
Jim Meyering [Sun, 22 Aug 1999 16:09:29 +0000 (16:09 +0000)]
Add a few more tests.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 15:58:28 +0000 (15:58 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 15:58:06 +0000 (15:58 +0000)]
*** empty log message ***

25 years agoRewrite to use Fetish.pm-based framework.
Jim Meyering [Sun, 22 Aug 1999 15:55:41 +0000 (15:55 +0000)]
Rewrite to use Fetish.pm-based framework.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 15:54:35 +0000 (15:54 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 22 Aug 1999 15:53:59 +0000 (15:53 +0000)]
.

25 years agotweak comment
Jim Meyering [Sun, 22 Aug 1999 11:34:56 +0000 (11:34 +0000)]
tweak comment

25 years ago(check_file): Explain why we have separate `if' and `else'
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 11:17:47 +0000 (11:17 +0000)]
*** empty log message ***

25 years ago(check_file): Generate each line of output earlier,
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.

25 years ago.
Jim Meyering [Sun, 22 Aug 1999 11:04:23 +0000 (11:04 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 11:03:57 +0000 (11:03 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 11:03:32 +0000 (11:03 +0000)]
*** empty log message ***

25 years agoEscape backslashes so tr's manual comes out right.
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:58:31 +0000 (10:58 +0000)]
*** empty log message ***

25 years ago(ATTRIBUTE_NORETURN): Define.
Jim Meyering [Sun, 22 Aug 1999 10:57:51 +0000 (10:57 +0000)]
(ATTRIBUTE_NORETURN): Define.

25 years agoUse ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE.
Jim Meyering [Sun, 22 Aug 1999 10:57:40 +0000 (10:57 +0000)]
Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:53:37 +0000 (10:53 +0000)]
*** empty log message ***

25 years ago(run_shell): Declare with noreturn attribute.
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:22:06 +0000 (10:22 +0000)]
*** empty log message ***

25 years ago(main): Rename locals i and j.
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...

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 10:19:56 +0000 (10:19 +0000)]
*** empty log message ***

25 years ago(validate_path): Use IF_LINT macro instead of #ifdef lint.
Jim Meyering [Sun, 22 Aug 1999 10:19:35 +0000 (10:19 +0000)]
(validate_path): Use IF_LINT macro instead of #ifdef lint.

25 years ago(batch_convert): 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.

25 years ago(dump): 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.

25 years ago(paste_parallel): Use IF_LINT macro instead of #ifdef lint...
Jim Meyering [Sun, 22 Aug 1999 09:50:56 +0000 (09:50 +0000)]
(paste_parallel): Use IF_LINT macro instead of #ifdef lint...

25 years ago(read_line): 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...

25 years ago(checkfp): 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.

25 years ago(usage): Correct bug-reporting email address.
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.

25 years ago(IF_LINT): Define new macro.
Jim Meyering [Sun, 22 Aug 1999 09:43:48 +0000 (09:43 +0000)]
(IF_LINT): Define new macro.

25 years ago(md5_check): Remove trailing `\n' in error format.
Jim Meyering [Sun, 22 Aug 1999 09:43:25 +0000 (09:43 +0000)]
(md5_check): Remove trailing `\n' in error format.

25 years ago(SWAP_LINES): New macro.
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]

25 years ago(writeline): Constify a char*.
Jim Meyering [Sun, 22 Aug 1999 08:48:45 +0000 (08:48 +0000)]
(writeline): Constify a char*.

25 years ago(cksum): Constify a char*.
Jim Meyering [Sun, 22 Aug 1999 08:48:06 +0000 (08:48 +0000)]
(cksum): Constify a char*.

25 years ago*** empty log message ***
Jim Meyering [Sun, 22 Aug 1999 08:47:00 +0000 (08:47 +0000)]
*** empty log message ***

25 years ago(parse_integer): Add `const' to char* parameter and
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.

25 years ago(check_file): Move declarations of local variables
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.

25 years ago*** empty log message ***
Jim Meyering [Sat, 21 Aug 1999 20:26:25 +0000 (20:26 +0000)]
*** empty log message ***

25 years ago(usage): Remove the ` [-v]' from the Usage: line.
Jim Meyering [Sat, 21 Aug 1999 20:26:18 +0000 (20:26 +0000)]
(usage): Remove the ` [-v]' from the Usage: line.

25 years agoimport latest
Jim Meyering [Fri, 20 Aug 1999 10:05:46 +0000 (10:05 +0000)]
import latest

25 years ago*** empty log message ***
Jim Meyering [Fri, 20 Aug 1999 09:02:39 +0000 (09:02 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 20 Aug 1999 08:58:40 +0000 (08:58 +0000)]
*** empty log message ***

25 years ago(usage): Tweak --help output to make it more consistent with that of chgrp.
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.

25 years ago(usage): Tweak --help output to make it more consistent with that of chown.
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.

25 years agopaste --delimiters: add missing `='
Jim Meyering [Wed, 18 Aug 1999 16:21:16 +0000 (16:21 +0000)]
paste --delimiters: add missing `='

25 years agostty --file: add missing `='
Jim Meyering [Wed, 18 Aug 1999 16:20:03 +0000 (16:20 +0000)]
stty --file: add missing `='

25 years ago*** empty log message ***
Jim Meyering [Wed, 18 Aug 1999 07:41:39 +0000 (07:41 +0000)]
*** empty log message ***

25 years ago(AC_SYS_LARGEFILE): Fix typo: missing comma
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.

25 years ago*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 10:17:42 +0000 (10:17 +0000)]
*** empty log message ***

25 years agosource input-tty instead of open-coding it
Jim Meyering [Tue, 17 Aug 1999 10:15:50 +0000 (10:15 +0000)]
source input-tty instead of open-coding it

25 years ago(EXTRA_DIST): Add input-tty.
Jim Meyering [Tue, 17 Aug 1999 10:14:23 +0000 (10:14 +0000)]
(EXTRA_DIST): Add input-tty.

25 years ago*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 10:13:27 +0000 (10:13 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 08:03:49 +0000 (08:03 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Tue, 17 Aug 1999 08:00:19 +0000 (08:00 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Tue, 17 Aug 1999 07:59:12 +0000 (07:59 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Tue, 17 Aug 1999 07:46:10 +0000 (07:46 +0000)]
.

25 years agoThis change is nearly identical to the chown.c change of 1998-05-24
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.

25 years ago(groupname): Declare to be `const'.
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.

25 years agofactor examples
Jim Meyering [Sun, 15 Aug 1999 18:43:54 +0000 (18:43 +0000)]
factor examples

25 years ago*** empty log message ***
Jim Meyering [Sun, 15 Aug 1999 12:57:21 +0000 (12:57 +0000)]
*** empty log message ***

25 years ago--pid vs djgpp
Jim Meyering [Sun, 15 Aug 1999 12:56:33 +0000 (12:56 +0000)]
--pid vs djgpp

25 years ago(ENOSYS): Define to a bogus value if not already defined.
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).