Jim Meyering [Sat, 16 Jan 1999 16:14:56 +0000 (16:14 +0000)]
Remove declarations of base_name and get_version.
(main): Don't call getenv ("VERSION_CONTROL"); xget_version does it.
Use xget_version and function-style XARGMATCH.
Jim Meyering [Sat, 16 Jan 1999 16:14:31 +0000 (16:14 +0000)]
Remove declarations of base_name and get_version.
(main): Don't call getenv ("VERSION_CONTROL"); xget_version does it.
Use xget_version and function-style XARGMATCH.
Jim Meyering [Sat, 16 Jan 1999 16:13:31 +0000 (16:13 +0000)]
Don't declare base_name.
(usage): Don't make it static so that it can be
called from libfu.a by xargmatch.
Jim Meyering [Sat, 16 Jan 1999 16:12:05 +0000 (16:12 +0000)]
Remove declarations of base_name and get_version.
(main): Don't call getenv ("VERSION_CONTROL"); xget_version does it.
Use xget_version and function-style XARGMATCH.
Jim Meyering [Sat, 16 Jan 1999 16:04:43 +0000 (16:04 +0000)]
(base_name): Declare.
Jim Meyering [Sat, 16 Jan 1999 15:55:20 +0000 (15:55 +0000)]
(quotearg_n_options): Declare n1 to be of type
unsigned int, not just int.
Jim Meyering [Sat, 16 Jan 1999 15:54:22 +0000 (15:54 +0000)]
(get_version): Adjust prototype.
(xget_version): Add prototype.
(base_name): Remove prototype.
Jim Meyering [Sat, 16 Jan 1999 15:51:21 +0000 (15:51 +0000)]
[!HAVE_DECL_GETENV]: Declare getenv.
(backup_args): Reorder enum members.
(backup_types): Likewise.
(get_version): Take an additional parameter, `context'.
(xget_version): Like get_version, but if the `version' argument is NULL,
use the value of the envvar VERSION_CONTROL.
(base_name): Declare.
Jim Meyering [Sat, 16 Jan 1999 15:37:25 +0000 (15:37 +0000)]
Add prototype for base_name.
Jim Meyering [Sat, 16 Jan 1999 15:34:59 +0000 (15:34 +0000)]
(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
Jim Meyering [Sat, 16 Jan 1999 15:33:16 +0000 (15:33 +0000)]
(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
Jim Meyering [Sat, 16 Jan 1999 15:21:52 +0000 (15:21 +0000)]
s/argmatch_exit_failure/argmatch_die/
Jim Meyering [Sat, 16 Jan 1999 15:17:48 +0000 (15:17 +0000)]
(EXIT_FAILURE): Define.
(ARGMATCH_DIE): Use it.
Jim Meyering [Sat, 16 Jan 1999 15:12:19 +0000 (15:12 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Jan 1999 15:12:04 +0000 (15:12 +0000)]
(XARGMATCH): Define to return a value once again.
(XARGCASEMATCH): Likewise.
Jim Meyering [Sat, 16 Jan 1999 15:06:41 +0000 (15:06 +0000)]
(ARGMATCH_DIE): Provide default.
(__xargmatch_internal): New function.
s/rogram_name/program_name.
From Akim Demaille.
Jim Meyering [Fri, 15 Jan 1999 13:26:46 +0000 (13:26 +0000)]
import latest
Jim Meyering [Thu, 14 Jan 1999 18:44:38 +0000 (18:44 +0000)]
*** empty log message ***
Jim Meyering [Thu, 14 Jan 1999 18:43:54 +0000 (18:43 +0000)]
Use `f', not `x' as temp. file name to avoid warnings from perl5.004.
Jim Meyering [Thu, 14 Jan 1999 18:27:33 +0000 (18:27 +0000)]
.
Jim Meyering [Thu, 14 Jan 1999 18:27:01 +0000 (18:27 +0000)]
*** empty log message ***
Jim Meyering [Thu, 14 Jan 1999 18:26:51 +0000 (18:26 +0000)]
(parse_long_options): Rename `usage' parameter
to avoid shadowing globally scoped function.
Jim Meyering [Thu, 14 Jan 1999 18:25:16 +0000 (18:25 +0000)]
Don't prototype usage as static.
Jim Meyering [Thu, 14 Jan 1999 15:37:04 +0000 (15:37 +0000)]
Include closeout.h. (main): Use close_stdout.
Jim Meyering [Thu, 14 Jan 1999 15:36:50 +0000 (15:36 +0000)]
Include closeout.h. (main): Use close_stdout_status.
Jim Meyering [Wed, 13 Jan 1999 05:50:34 +0000 (05:50 +0000)]
.
Jim Meyering [Wed, 13 Jan 1999 05:50:05 +0000 (05:50 +0000)]
.
Jim Meyering [Wed, 13 Jan 1999 05:42:38 +0000 (05:42 +0000)]
*** empty log message ***
Jim Meyering [Wed, 13 Jan 1999 05:40:42 +0000 (05:40 +0000)]
new version from automake
Jim Meyering [Wed, 13 Jan 1999 05:38:11 +0000 (05:38 +0000)]
.
Jim Meyering [Wed, 13 Jan 1999 05:38:08 +0000 (05:38 +0000)]
.
Jim Meyering [Wed, 13 Jan 1999 05:37:17 +0000 (05:37 +0000)]
new version from glibc
Jim Meyering [Wed, 13 Jan 1999 05:36:45 +0000 (05:36 +0000)]
new version from glibc
Jim Meyering [Tue, 12 Jan 1999 17:40:08 +0000 (17:40 +0000)]
add parens, s/|/;/
Jim Meyering [Tue, 12 Jan 1999 17:35:22 +0000 (17:35 +0000)]
*** empty log message ***
Jim Meyering [Tue, 12 Jan 1999 17:35:13 +0000 (17:35 +0000)]
Rewrite to avoid using fmt.
Jim Meyering [Mon, 11 Jan 1999 05:49:42 +0000 (05:49 +0000)]
.
Jim Meyering [Mon, 11 Jan 1999 05:01:31 +0000 (05:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 04:58:28 +0000 (04:58 +0000)]
.
Jim Meyering [Mon, 11 Jan 1999 04:53:02 +0000 (04:53 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 04:52:44 +0000 (04:52 +0000)]
All of the following new code is protected by `#if DONT_UNLINK_WHILE_OPEN'
(file_to_remove): New global.
(fp_to_close): New global.
(unlink_tempfile): New function.
(record_tempfile): New function.
(save_stdin): Call record_tempfile.
Use SET_BINARY.
(main): Use SET_BINARY and SET_BINARY2.
From Eli Zaretskii.
Jim Meyering [Mon, 11 Jan 1999 04:15:09 +0000 (04:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 04:14:29 +0000 (04:14 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 04:12:15 +0000 (04:12 +0000)]
.
Jim Meyering [Mon, 11 Jan 1999 03:36:44 +0000 (03:36 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 03:23:14 +0000 (03:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 03:22:50 +0000 (03:22 +0000)]
(copy_internal): Handle two more values of errno from
failed rename of a directory into a subdirectory of itself.
Jim Meyering [Mon, 11 Jan 1999 03:19:45 +0000 (03:19 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 03:11:15 +0000 (03:11 +0000)]
(quotearg_buffer): Change escape_quoting_style so that it no longer escapes ` '.
Suggestion from Paul Eggert.
Jim Meyering [Mon, 11 Jan 1999 03:10:59 +0000 (03:10 +0000)]
(decode_switches): Now that escape_quoting_style no longer
escapes the SPACE character, arrange for SPACEs to be quoted here.
Jim Meyering [Mon, 11 Jan 1999 03:10:19 +0000 (03:10 +0000)]
(ARGMATCH_QUOTING_STYLE): Change from c_quoting_style to escape_quoting_style.
(argmatch_invalid): Now that the quoted quantity is no longer double
quoted, remove the code that removed leading and trailing double quotes.
Jim Meyering [Mon, 11 Jan 1999 02:49:20 +0000 (02:49 +0000)]
*** empty log message ***
Jim Meyering [Mon, 11 Jan 1999 02:46:33 +0000 (02:46 +0000)]
(main) [TEST_CANON_HOST]: Add a simple test driver.
Jim Meyering [Mon, 11 Jan 1999 02:40:27 +0000 (02:40 +0000)]
import new version
Jim Meyering [Sun, 10 Jan 1999 23:47:16 +0000 (23:47 +0000)]
.
Jim Meyering [Sun, 10 Jan 1999 23:44:44 +0000 (23:44 +0000)]
.
Jim Meyering [Sun, 10 Jan 1999 22:51:50 +0000 (22:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Jan 1999 22:51:01 +0000 (22:51 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:50:14 +0000 (22:50 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:49:24 +0000 (22:49 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:48:12 +0000 (22:48 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:47:37 +0000 (22:47 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:47:01 +0000 (22:47 +0000)]
Use the new 3-arg form of AC_DEFINE instead of my gross kludge.
Jim Meyering [Sun, 10 Jan 1999 22:45:03 +0000 (22:45 +0000)]
Use 3-arg form of AC_DEFINE instead of the
AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
comments in config.h.in are meaningful.
Jim Meyering [Sun, 10 Jan 1999 22:43:13 +0000 (22:43 +0000)]
bump serial#
Jim Meyering [Sun, 10 Jan 1999 22:42:57 +0000 (22:42 +0000)]
Require autoconf-2.13 here.
Jim Meyering [Sun, 10 Jan 1999 22:06:15 +0000 (22:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Jan 1999 14:57:07 +0000 (14:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Jan 1999 14:57:00 +0000 (14:57 +0000)]
By default, don't use the included regex.c on systems
with glibc 2. Suggestion from Uli Drepper.
Jim Meyering [Sat, 9 Jan 1999 21:20:02 +0000 (21:20 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Jan 1999 16:25:02 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Jan 1999 16:21:40 +0000 (16:21 +0000)]
declare `match'
Jim Meyering [Sat, 9 Jan 1999 16:16:18 +0000 (16:16 +0000)]
New option: --all-repeated (-D).
(output_all_repeated) [output_mode]: New enum value.
(usage): Describe it.
(writeline): Test for new mode.
(check_file): Likewise.
Based on patches from Jochen Hein and Florin Iucha.
(main): Diagnose `too many arguments'.
Jim Meyering [Sat, 9 Jan 1999 16:15:32 +0000 (16:15 +0000)]
Add tests from Jochen Hein.
Jim Meyering [Sat, 9 Jan 1999 15:44:27 +0000 (15:44 +0000)]
(null-1): Add test from Jochen Hein.
Jim Meyering [Sat, 9 Jan 1999 14:21:32 +0000 (14:21 +0000)]
s/max_n_consecutive_size_changes/max_n_consecutive_size_changes_between_opens/
Jim Meyering [Sat, 9 Jan 1999 14:19:40 +0000 (14:19 +0000)]
(parse_obsolescent_option): Interpret `number' as decimal.
(parse_options): Likewise.
Reported by Kamal Paul Nigam.
New option: --max-unchanged-stats=N.
New option: --max-n-consecutive-size-changes=N.
Jim Meyering [Thu, 7 Jan 1999 03:43:01 +0000 (03:43 +0000)]
protoize
Jim Meyering [Wed, 6 Jan 1999 16:09:14 +0000 (16:09 +0000)]
import latest
Jim Meyering [Tue, 5 Jan 1999 17:51:51 +0000 (17:51 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 05:10:14 +0000 (05:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 05:09:52 +0000 (05:09 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 04:38:35 +0000 (04:38 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Jan 1999 04:29:34 +0000 (04:29 +0000)]
.
Jim Meyering [Tue, 5 Jan 1999 04:29:16 +0000 (04:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 4 Jan 1999 20:16:31 +0000 (20:16 +0000)]
(main): remove unused `i'
Jim Meyering [Mon, 4 Jan 1999 20:14:26 +0000 (20:14 +0000)]
remove strcasecmp.cin
Jim Meyering [Mon, 4 Jan 1999 20:09:28 +0000 (20:09 +0000)]
*** empty log message ***
Jim Meyering [Sun, 3 Jan 1999 15:47:46 +0000 (15:47 +0000)]
*** empty log message ***
Jim Meyering [Sun, 3 Jan 1999 15:47:38 +0000 (15:47 +0000)]
(usage): Remove third program_name argument -- there
were only two `%s' in the format string.
Jim Meyering [Sat, 2 Jan 1999 20:38:45 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 20:35:06 +0000 (20:35 +0000)]
(argmatch_invalid): Remove double quotes from the
offending quoted argument before using it in explanatory diagnostic.
Use a single fprintf stmt.
Jim Meyering [Sat, 2 Jan 1999 20:07:41 +0000 (20:07 +0000)]
.
Jim Meyering [Sat, 2 Jan 1999 20:07:04 +0000 (20:07 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 20:06:59 +0000 (20:06 +0000)]
Replace strcasecmp and strncasecmp.
Jim Meyering [Sat, 2 Jan 1999 19:38:36 +0000 (19:38 +0000)]
.
Jim Meyering [Sat, 2 Jan 1999 19:38:05 +0000 (19:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Jan 1999 19:37:56 +0000 (19:37 +0000)]
(tsort): Use a single call to error instead of two to fprintf.
(main): Remove `%s: ' prefix on format string.
Jim Meyering [Sat, 2 Jan 1999 19:35:46 +0000 (19:35 +0000)]
(parse_options): Use XARGMATCH in place of argmatch.
Jim Meyering [Sat, 2 Jan 1999 19:35:18 +0000 (19:35 +0000)]
(format_vals): New array.
(main): Use XARGMATCH in place of argmatch.