platform/upstream/coreutils.git
27 years ago(add_line_number): Rename from `number' to avoid shadowing local variables.
Jim Meyering [Sat, 1 Feb 1997 03:25:14 +0000 (03:25 +0000)]
(add_line_number): Rename from `number' to avoid shadowing local variables.

27 years ago.
Jim Meyering [Sat, 1 Feb 1997 03:13:22 +0000 (03:13 +0000)]
.

27 years agoCompare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0'...
Jim Meyering [Sat, 1 Feb 1997 03:05:36 +0000 (03:05 +0000)]
Compare getopt_long return value against -1, not EOF.  Use NULL, not '(int *) 0' as last parameter in getopt_long call.

27 years agoCompare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0'...
Jim Meyering [Sat, 1 Feb 1997 03:03:44 +0000 (03:03 +0000)]
Compare getopt_long return value against -1, not EOF.  Use NULL, not '(int *) 0' as last parameter in getopt_long call.

27 years agoCompare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0'...
Jim Meyering [Sat, 1 Feb 1997 02:00:04 +0000 (02:00 +0000)]
Compare getopt_long return value against -1, not EOF.  Use NULL, not '(int *) 0' as last parameter in getopt_long call.

27 years ago(maintainer-clean): Remove GMOFILES.
Jim Meyering [Thu, 30 Jan 1997 05:28:37 +0000 (05:28 +0000)]
(maintainer-clean): Remove GMOFILES.
From Paul Eggert.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 04:16:33 +0000 (04:16 +0000)]
.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 04:11:17 +0000 (04:11 +0000)]
.

27 years agoDo each test twice: get input via REDIR and PIPE.
Jim Meyering [Thu, 30 Jan 1997 03:38:47 +0000 (03:38 +0000)]
Do each test twice: get input via REDIR and PIPE.

27 years ago(test_vector): Do each (non-stdin-requiring) test three times.
Jim Meyering [Thu, 30 Jan 1997 03:38:07 +0000 (03:38 +0000)]
(test_vector): Do each (non-stdin-requiring) test three times.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 03:36:40 +0000 (03:36 +0000)]
.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 03:36:06 +0000 (03:36 +0000)]
.

27 years agocorrectly compute number of tests
Jim Meyering [Thu, 30 Jan 1997 03:31:40 +0000 (03:31 +0000)]
correctly compute number of tests

27 years agoRemove common_option_prefix flag.
Jim Meyering [Thu, 30 Jan 1997 03:27:35 +0000 (03:27 +0000)]
Remove common_option_prefix flag.
(test_vector): Prepend the common option here instead.

27 years agoRemove input_via_stdin flag.
Jim Meyering [Thu, 30 Jan 1997 03:26:27 +0000 (03:26 +0000)]
Remove input_via_stdin flag.
Do each test twice: get input via REDIR and PIPE.

27 years agoDo each test three times.
Jim Meyering [Thu, 30 Jan 1997 03:25:16 +0000 (03:25 +0000)]
Do each test three times.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 03:22:44 +0000 (03:22 +0000)]
.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 03:14:43 +0000 (03:14 +0000)]
.

27 years ago.
Jim Meyering [Thu, 30 Jan 1997 03:01:15 +0000 (03:01 +0000)]
.

27 years agoAllow each test to be run any or all of three different ways. Program
Jim Meyering [Wed, 29 Jan 1997 14:19:17 +0000 (14:19 +0000)]
Allow each test to be run any or all of three different ways.  Program
input may be specified via a file or files listed on the command line,
via input redirection (if there's only one file), or via a pipe.

27 years ago.
Jim Meyering [Wed, 29 Jan 1997 13:03:05 +0000 (13:03 +0000)]
.

27 years ago.
Jim Meyering [Wed, 29 Jan 1997 02:54:21 +0000 (02:54 +0000)]
.

27 years agoRemove `t' prefix on all generated test file names.
Jim Meyering [Tue, 28 Jan 1997 21:22:34 +0000 (21:22 +0000)]
Remove `t' prefix on all generated test file names.
Change suffixes from (.in, .exp, .out, .err) to (.I, .X, .O, .E).
Ensure that no test file (generated or maintainer-supplied) has a
longer than 14 characters.

27 years ago(usage): Remove one space in message to make colons line up.
Jim Meyering [Tue, 28 Jan 1997 03:44:27 +0000 (03:44 +0000)]
(usage): Remove one space in message to make colons line up.

27 years ago.
Jim Meyering [Tue, 28 Jan 1997 03:43:05 +0000 (03:43 +0000)]
.

27 years ago(print_long_format): Fix off-by-one problem in size being passed to strftime.
Jim Meyering [Tue, 28 Jan 1997 03:40:18 +0000 (03:40 +0000)]
(print_long_format): Fix off-by-one problem in size being passed to strftime.

27 years ago. SH-UTILS-1_16
Jim Meyering [Mon, 27 Jan 1997 03:15:14 +0000 (03:15 +0000)]
.

27 years ago.
Jim Meyering [Mon, 27 Jan 1997 03:10:22 +0000 (03:10 +0000)]
.

27 years agoreally make the messages identical TEXTUTILS-1_22
Jim Meyering [Mon, 27 Jan 1997 02:28:39 +0000 (02:28 +0000)]
really make the messages identical

27 years ago. FILEUTILS-3_16
Jim Meyering [Mon, 27 Jan 1997 02:18:56 +0000 (02:18 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 20:01:11 +0000 (20:01 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 19:04:03 +0000 (19:04 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 19:03:30 +0000 (19:03 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 19:02:52 +0000 (19:02 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 19:01:54 +0000 (19:01 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 18:57:36 +0000 (18:57 +0000)]
.

27 years ago(usage): Fix typo (--writeable -> --writable) in help output
Jim Meyering [Sun, 26 Jan 1997 18:51:44 +0000 (18:51 +0000)]
(usage): Fix typo (--writeable -> --writable) in help output

27 years ago(parse_options): Add quotes to make messages identical.
Jim Meyering [Sun, 26 Jan 1997 18:50:33 +0000 (18:50 +0000)]
(parse_options): Add quotes to make messages identical.

27 years ago. SH-UTILS-1_15a
Jim Meyering [Sun, 26 Jan 1997 07:03:50 +0000 (07:03 +0000)]
.

27 years agobracket prototype with PARAMS FILEUTILS-3_15a
Jim Meyering [Sun, 26 Jan 1997 06:23:06 +0000 (06:23 +0000)]
bracket prototype with PARAMS

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 05:57:12 +0000 (05:57 +0000)]
.

27 years agoRestore dcl of free. with obstacks, you need it.
Jim Meyering [Sun, 26 Jan 1997 05:57:04 +0000 (05:57 +0000)]
Restore dcl of free.  with obstacks, you need it.

27 years agoRevert last change. With obstack, dcl of free is *required*.
Jim Meyering [Sun, 26 Jan 1997 05:55:02 +0000 (05:55 +0000)]
Revert last change.  With obstack, dcl of free is *required*.

27 years ago. TEXTUTILS-1_21a
Jim Meyering [Sun, 26 Jan 1997 05:13:26 +0000 (05:13 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 05:08:56 +0000 (05:08 +0000)]
.

27 years ago(count_entry): Fix blatant bug (typo?) that made
Jim Meyering [Sun, 26 Jan 1997 05:05:06 +0000 (05:05 +0000)]
(count_entry): Fix blatant bug (typo?) that made
--megabytes report numbers in units of kilobytes.
Reported by Galen Hazelwood.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 05:04:35 +0000 (05:04 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:52:42 +0000 (04:52 +0000)]
.

27 years ago(print_factors): Reflect changes to xstrtoul interface.
Jim Meyering [Sun, 26 Jan 1997 04:52:32 +0000 (04:52 +0000)]
(print_factors): Reflect changes to xstrtoul interface.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:48:39 +0000 (04:48 +0000)]
.

27 years ago(parse_options): Remove unnecessary goto and label.
Jim Meyering [Sun, 26 Jan 1997 04:48:29 +0000 (04:48 +0000)]
(parse_options): Remove unnecessary goto and label.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:44:03 +0000 (04:44 +0000)]
.

27 years ago(parse_obsolescent_option): Comment.
Jim Meyering [Sun, 26 Jan 1997 04:43:42 +0000 (04:43 +0000)]
(parse_obsolescent_option): Comment.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:30:49 +0000 (04:30 +0000)]
.

27 years ago(is_ancestor): Add it.
Jim Meyering [Sun, 26 Jan 1997 04:30:39 +0000 (04:30 +0000)]
(is_ancestor): Add it.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:14:26 +0000 (04:14 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:13:46 +0000 (04:13 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:12:46 +0000 (04:12 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 04:12:20 +0000 (04:12 +0000)]
.

27 years agoInterpret `input arg is a hash
Jim Meyering [Sun, 26 Jan 1997 03:12:41 +0000 (03:12 +0000)]
Interpret `input arg is a hash
reference' as meaning that the tested program will read no input.
Most of the tests for the date program use this feature.
Also for date, the generated script now reflects specification
(in Test.pm) of default and per-test environment settings.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 03:01:01 +0000 (03:01 +0000)]
.

27 years ago.
Jim Meyering [Sun, 26 Jan 1997 02:59:50 +0000 (02:59 +0000)]
.

27 years agoremove trailing blanks
Jim Meyering [Sat, 25 Jan 1997 13:50:24 +0000 (13:50 +0000)]
remove trailing blanks

27 years agoremove now-spurious junk
Jim Meyering [Sat, 25 Jan 1997 13:45:55 +0000 (13:45 +0000)]
remove now-spurious junk

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 13:38:54 +0000 (13:38 +0000)]
.

27 years ago(noinst_HEADERS): Add getdate.h.
Jim Meyering [Sat, 25 Jan 1997 13:38:49 +0000 (13:38 +0000)]
(noinst_HEADERS): Add getdate.h.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:59:56 +0000 (06:59 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:54:19 +0000 (06:54 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:52:50 +0000 (06:52 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:46:53 +0000 (06:46 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:46:33 +0000 (06:46 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:45:38 +0000 (06:45 +0000)]
.

27 years agoMove the code from configure.in into
Jim Meyering [Sat, 25 Jan 1997 06:45:32 +0000 (06:45 +0000)]
Move the code from configure.in into
this macro that resorts to looking for getgroups in -lbsd.
Set new shell variable, GETGROUPS_LIB (that callers should check),
if it is found there.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:43:47 +0000 (06:43 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:43:16 +0000 (06:43 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:37:40 +0000 (06:37 +0000)]
.

27 years agoupdate for changed xstrtou?l
Jim Meyering [Sat, 25 Jan 1997 06:21:24 +0000 (06:21 +0000)]
update for changed xstrtou?l

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:17:20 +0000 (06:17 +0000)]
.

27 years ago(XSTRTOL_H): Undefine it.
Jim Meyering [Sat, 25 Jan 1997 06:17:13 +0000 (06:17 +0000)]
(XSTRTOL_H): Undefine it.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 06:15:49 +0000 (06:15 +0000)]
.

27 years ago[!_STRTOL_ERROR]: Define the type `enum strtol_error'
Jim Meyering [Sat, 25 Jan 1997 06:15:18 +0000 (06:15 +0000)]
[!_STRTOL_ERROR]: Define the type `enum strtol_error'
only if it hasn't already been defined.

27 years ago(__xstrtol): Change interpretation of
Jim Meyering [Sat, 25 Jan 1997 06:13:46 +0000 (06:13 +0000)]
(__xstrtol): Change interpretation of
VALID_SUFFIXES == NULL vs VALID_SUFFIXES == "".  Use the former
when any suffix is valid, the later when no suffix is allowed.

27 years agofix copyright filling
Jim Meyering [Sat, 25 Jan 1997 06:11:48 +0000 (06:11 +0000)]
fix copyright filling

27 years agofix copyright filling
Jim Meyering [Sat, 25 Jan 1997 06:11:22 +0000 (06:11 +0000)]
fix copyright filling

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 05:58:58 +0000 (05:58 +0000)]
.

27 years ago.
Jim Meyering [Sat, 25 Jan 1997 05:56:52 +0000 (05:56 +0000)]
.

27 years ago(parse_long_options): Reset optind to zero
Jim Meyering [Sat, 25 Jan 1997 05:37:15 +0000 (05:37 +0000)]
(parse_long_options): Reset optind to zero
before just returning so that getopt internals get initialized from
the probably-new parameters when/if getopt is called later.

27 years ago(parse_obsolescent_option): Recognize and fail for
Jim Meyering [Fri, 24 Jan 1997 02:11:52 +0000 (02:11 +0000)]
(parse_obsolescent_option): Recognize and fail for
more malformed obsolescent options.  Makes for better diagnostics.

27 years ago.
Jim Meyering [Fri, 24 Jan 1997 01:16:39 +0000 (01:16 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 05:15:14 +0000 (05:15 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 04:12:43 +0000 (04:12 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 04:03:50 +0000 (04:03 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 04:01:58 +0000 (04:01 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 04:00:19 +0000 (04:00 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 03:55:50 +0000 (03:55 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 03:47:20 +0000 (03:47 +0000)]
.

27 years ago(parse_options): New function.
Jim Meyering [Thu, 23 Jan 1997 03:38:23 +0000 (03:38 +0000)]
(parse_options): New function.
(parse_obsolescent_option): New function.
(main): Use the new functions instead of open-coding them.
This better fixes the bug in handling obsolescent `+Nc' options.
General cleanup.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 03:22:16 +0000 (03:22 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 03:02:56 +0000 (03:02 +0000)]
.

27 years ago.
Jim Meyering [Thu, 23 Jan 1997 03:02:17 +0000 (03:02 +0000)]
.