Jim Meyering [Sat, 23 Jan 1999 17:36:33 +0000 (17:36 +0000)]
fix typos in comments
Jim Meyering [Sat, 23 Jan 1999 16:48:36 +0000 (16:48 +0000)]
(pfstatus): Use __format__ and __printf__.
Remove `if __GNUC__ >= 2' guard.
Jim Meyering [Sat, 23 Jan 1999 16:41:20 +0000 (16:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 23 Jan 1999 16:26:16 +0000 (16:26 +0000)]
Bracket pfstatus messages with _().
Jim Meyering [Sat, 23 Jan 1999 15:34:18 +0000 (15:34 +0000)]
add parens around STREQ
Jim Meyering [Sat, 23 Jan 1999 15:32:48 +0000 (15:32 +0000)]
restore mistakenly removed stdio.h
use error in place of pferror
(pferror): Remove.
(wipefd): Use error in place of fprintf(stderr,... call
s/alllocate/allocate
Jim Meyering [Sat, 23 Jan 1999 15:22:16 +0000 (15:22 +0000)]
use `%s' rather than \"%s\" everywhere
Jim Meyering [Sat, 23 Jan 1999 15:17:54 +0000 (15:17 +0000)]
s/sterilize/shred/g
Don't include headers already included (and guarded by HAVE_FOO_H tests)
in system.h.
Jim Meyering [Sat, 23 Jan 1999 05:32:58 +0000 (05:32 +0000)]
use getopt_long
(struct Options): Declare.
(usage): New function.
(program_name): Rename from argv0
(FLAG_* macros): Remove.
Jim Meyering [Fri, 22 Jan 1999 02:19:24 +0000 (02:19 +0000)]
Include config.h, getopt.h, system.h and error.h.
Use #else/#if, not #elif.
Jim Meyering [Thu, 21 Jan 1999 13:40:27 +0000 (13:40 +0000)]
import latest
Jim Meyering [Tue, 19 Jan 1999 04:47:33 +0000 (04:47 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Jan 1999 04:47:24 +0000 (04:47 +0000)]
(__mktime_internal): Adopt the traditional (and
problematic) notion of what to do when tm_isdst doesn't match.
From Paul Eggert.
Jim Meyering [Tue, 19 Jan 1999 03:04:12 +0000 (03:04 +0000)]
put back mistakenly removed pwd= assignment
Jim Meyering [Mon, 18 Jan 1999 18:33:58 +0000 (18:33 +0000)]
remove temporary files
Jim Meyering [Mon, 18 Jan 1999 17:14:57 +0000 (17:14 +0000)]
.
Jim Meyering [Mon, 18 Jan 1999 17:14:35 +0000 (17:14 +0000)]
.
Jim Meyering [Mon, 18 Jan 1999 16:30:20 +0000 (16:30 +0000)]
Tweak grammar in description of ptx's --break-file=FILE option.
Jim Meyering [Mon, 18 Jan 1999 16:23:59 +0000 (16:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Jan 1999 16:23:48 +0000 (16:23 +0000)]
Harmonization of @samp use for options.
Jim Meyering [Mon, 18 Jan 1999 05:49:43 +0000 (05:49 +0000)]
indent -- sorry Colin.
Jim Meyering [Mon, 18 Jan 1999 03:49:16 +0000 (03:49 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Jan 1999 03:47:16 +0000 (03:47 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Jan 1999 03:46:48 +0000 (03:46 +0000)]
.
Jim Meyering [Mon, 18 Jan 1999 02:57:24 +0000 (02:57 +0000)]
Now that PATH is set properly, use ln rather than $LN.
Jim Meyering [Mon, 18 Jan 1999 02:56:27 +0000 (02:56 +0000)]
(TESTS): Add backup-1.
(TESTS_ENVIRONMENT): Set PATH here, rather than setting LN.
Jim Meyering [Mon, 18 Jan 1999 02:55:50 +0000 (02:55 +0000)]
.
Jim Meyering [Mon, 18 Jan 1999 02:54:56 +0000 (02:54 +0000)]
.
Jim Meyering [Mon, 18 Jan 1999 02:54:36 +0000 (02:54 +0000)]
Now that PATH is set properly, use rm and cp rather than $RM and $CP.
Jim Meyering [Mon, 18 Jan 1999 02:54:19 +0000 (02:54 +0000)]
.
Jim Meyering [Mon, 18 Jan 1999 02:53:19 +0000 (02:53 +0000)]
(TESTS_ENVIRONMENT): Set PATH here, rather than setting RM and CP.
Jim Meyering [Mon, 18 Jan 1999 02:41:13 +0000 (02:41 +0000)]
(do_link): Try to remove DEST even after renaming it.
This fixes a bug reported by Jamie Lokier.
Jim Meyering [Mon, 18 Jan 1999 02:40:30 +0000 (02:40 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Jan 1999 00:44:57 +0000 (00:44 +0000)]
cpp-indent #error line
Jim Meyering [Mon, 18 Jan 1999 00:44:18 +0000 (00:44 +0000)]
.
Jim Meyering [Sun, 17 Jan 1999 18:14:28 +0000 (18:14 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Jan 1999 18:12:19 +0000 (18:12 +0000)]
(same_name): Use SAME_INODE rather than open coding it.
Jim Meyering [Sun, 17 Jan 1999 15:07:44 +0000 (15:07 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Jan 1999 13:53:32 +0000 (13:53 +0000)]
Add SHELL = /bin/sh.
Jim Meyering [Sun, 17 Jan 1999 04:15:12 +0000 (04:15 +0000)]
compress copyright
Jim Meyering [Sat, 16 Jan 1999 17:18:01 +0000 (17:18 +0000)]
(ARGMATCH_DIE_DECL): Use it.
Jim Meyering [Sat, 16 Jan 1999 17:15:32 +0000 (17:15 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Jan 1999 17:15:24 +0000 (17:15 +0000)]
(ARGMATCH_DIE_DECL): Define.
Jim Meyering [Sat, 16 Jan 1999 17:01:20 +0000 (17:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Jan 1999 17:01:11 +0000 (17:01 +0000)]
Define ARGMATCH_DIE.
Jim Meyering [Sat, 16 Jan 1999 16:25:26 +0000 (16:25 +0000)]
.
Jim Meyering [Sat, 16 Jan 1999 16:22:00 +0000 (16:22 +0000)]
Don't declare base_name.
Jim Meyering [Sat, 16 Jan 1999 16:21:46 +0000 (16:21 +0000)]
Don't declare base_name.
Use function-style XARGMATCH once again.
Jim Meyering [Sat, 16 Jan 1999 16:20:02 +0000 (16:20 +0000)]
(usage): Remove `static'.
Use function-style XARGMATCH.
Jim Meyering [Sat, 16 Jan 1999 16:18:26 +0000 (16:18 +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: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.