Commit Graph
14506 Commits
Author SHA1 Message Date
Jim Meyering fadedac410 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.
1999-01-16 16:14:56 +00:00
Jim Meyering 06f14ae760 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.
1999-01-16 16:14:31 +00:00
Jim Meyering 1592f752f6 Don't declare base_name.
(usage): Don't make it static so that it can be
called from libfu.a by xargmatch.
1999-01-16 16:13:31 +00:00
Jim Meyering 84b4618b26 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.
1999-01-16 16:12:05 +00:00
Jim Meyering 414cf1b428 (base_name): Declare. 1999-01-16 16:04:43 +00:00
Jim Meyering b76f341922 (quotearg_n_options): Declare n1 to be of type
unsigned int, not just int.
1999-01-16 15:55:20 +00:00
Jim Meyering 10f96d621c (get_version): Adjust prototype.
(xget_version): Add prototype.
(base_name): Remove prototype.
1999-01-16 15:54:22 +00:00
Jim Meyering 306ea2b028 [!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.
1999-01-16 15:51:21 +00:00
Jim Meyering ff5b4df30b Add prototype for base_name. 1999-01-16 15:37:25 +00:00
Jim Meyering 20bc02752b (usage): Don't make it static so that it can be called from libfu.a by xargmatch. 1999-01-16 15:34:59 +00:00
Jim Meyering 410a3c94e8 (usage): Don't make it static so that it can be called from libfu.a by xargmatch. 1999-01-16 15:33:16 +00:00
Jim Meyering c94e186b91 s/argmatch_exit_failure/argmatch_die/ 1999-01-16 15:21:52 +00:00
Jim Meyering e42efa6866 (EXIT_FAILURE): Define.
(ARGMATCH_DIE): Use it.
1999-01-16 15:17:48 +00:00
Jim Meyering 115a5d0e61 *** empty log message *** 1999-01-16 15:12:19 +00:00
Jim Meyering f28d5ba125 (XARGMATCH): Define to return a value once again.
(XARGCASEMATCH): Likewise.
1999-01-16 15:12:04 +00:00
Jim Meyering f22e54a579 (ARGMATCH_DIE): Provide default.
(__xargmatch_internal): New function.
s/rogram_name/program_name.
From Akim Demaille.
1999-01-16 15:06:41 +00:00
Jim Meyering 888b0fe143 import latest 1999-01-15 13:26:46 +00:00
Jim Meyering e0c1e743cc *** empty log message *** 1999-01-14 18:44:38 +00:00
Jim Meyering 3e60c9744d Use f', not x' as temp. file name to avoid warnings from perl5.004. 1999-01-14 18:43:54 +00:00
Jim Meyering 3cce240e0a . 1999-01-14 18:27:33 +00:00
Jim Meyering 17a4ddab33 *** empty log message *** 1999-01-14 18:27:01 +00:00
Jim Meyering d2e1175756 (parse_long_options): Rename `usage' parameter
to avoid shadowing globally scoped function.
1999-01-14 18:26:51 +00:00
Jim Meyering 9fec9172be Don't prototype usage as static. 1999-01-14 18:25:16 +00:00
Jim Meyering da25811932 Include closeout.h. (main): Use close_stdout. 1999-01-14 15:37:04 +00:00
Jim Meyering dc4fd4c43b Include closeout.h. (main): Use close_stdout_status. 1999-01-14 15:36:50 +00:00
Jim Meyering 26ba9ca9df . 1999-01-13 05:50:34 +00:00
Jim Meyering f749a71868 . 1999-01-13 05:50:05 +00:00
Jim Meyering 43ca488eae *** empty log message *** 1999-01-13 05:42:38 +00:00
Jim Meyering b0c149e78f new version from automake 1999-01-13 05:40:42 +00:00
Jim Meyering 97bc6652e7 . 1999-01-13 05:38:11 +00:00
Jim Meyering e0ad1ee4d1 . 1999-01-13 05:38:08 +00:00
Jim Meyering af821763c5 new version from glibc 1999-01-13 05:37:17 +00:00
Jim Meyering 4a90a25973 new version from glibc 1999-01-13 05:36:45 +00:00
Jim Meyering 570fa71fb3 add parens, s/|/;/ 1999-01-12 17:40:08 +00:00
Jim Meyering 8d891cbf63 *** empty log message *** 1999-01-12 17:35:22 +00:00
Jim Meyering 58d4fd72fe Rewrite to avoid using fmt. 1999-01-12 17:35:13 +00:00
Jim Meyering b517135765 . TEXTUTILS-1_22g 1999-01-11 05:49:42 +00:00
Jim Meyering f4e4297031 *** empty log message *** 1999-01-11 05:01:31 +00:00
Jim Meyering 22d584b475 . 1999-01-11 04:58:28 +00:00
Jim Meyering f6aaba2b34 *** empty log message *** 1999-01-11 04:53:02 +00:00
Jim Meyering c970990a0a 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.
1999-01-11 04:52:44 +00:00
Jim Meyering 500f608a4d *** empty log message *** FILEUTILS-4_1-b3 1999-01-11 04:15:09 +00:00
Jim Meyering e5eed12981 *** empty log message *** 1999-01-11 04:14:29 +00:00
Jim Meyering 8be71eeb83 . 1999-01-11 04:12:15 +00:00
Jim Meyering 06683af3c4 *** empty log message *** 1999-01-11 03:36:44 +00:00
Jim Meyering 38d09e7907 *** empty log message *** 1999-01-11 03:23:14 +00:00
Jim Meyering 0e777744cb (copy_internal): Handle two more values of errno from
failed rename of a directory into a subdirectory of itself.
1999-01-11 03:22:50 +00:00
Jim Meyering 9a887e5ca4 *** empty log message *** 1999-01-11 03:19:45 +00:00
Jim Meyering 495729b1dc (quotearg_buffer): Change escape_quoting_style so that it no longer escapes ` '.
Suggestion from Paul Eggert.
1999-01-11 03:11:15 +00:00
Jim Meyering 75e5479220 (decode_switches): Now that escape_quoting_style no longer
escapes the SPACE character, arrange for SPACEs to be quoted here.
1999-01-11 03:10:59 +00:00