Commit Graph

1335 Commits

Author SHA1 Message Date
Jim Meyering 79bfec7ced Apply big patch from Ørn E. Hansen. 1997-10-13 02:08:01 +00:00
Jim Meyering 3ea2606e41 indent cpp directives to reflect nesting 1997-10-07 23:58:29 +00:00
Jim Meyering 3f3f566627 update bug-reporting address 1997-10-07 23:55:52 +00:00
Jim Meyering 05bbdbd786 update bug-reporting address 1997-10-07 23:53:36 +00:00
Jim Meyering 54abd85010 update bug-reporting address 1997-10-07 23:53:10 +00:00
Jim Meyering 5db3c9bdb4 update bug-reporting address 1997-10-07 23:51:39 +00:00
Jim Meyering e5549867e2 change verbose messages 1997-10-06 13:30:14 +00:00
Jim Meyering 2e1d300fe5 (usage): Add a line describing --verbose. 1997-10-06 13:09:28 +00:00
Jim Meyering f8265dd3d8 *** empty log message *** 1997-10-06 05:25:59 +00:00
Jim Meyering 48f0a08332 fix braino 1997-10-06 05:23:49 +00:00
Jim Meyering 7bff8c9b50 (struct cp_options): New field: require_preserve. 1997-10-06 04:58:26 +00:00
Jim Meyering eb2947bbbd (cp_option_init): Initialize it.
(main): Set to 1 for -a and for -p.
1997-10-06 04:58:05 +00:00
Jim Meyering fe12b67113 (copy_internal): Use require_preserve. 1997-10-06 04:57:40 +00:00
Jim Meyering 03ae2c6b97 Remove old-style savedir dcl.
Include savedir.h for prototype.
1997-10-04 01:57:12 +00:00
Jim Meyering 3445d47a10 Remove old-style savedir dcl.
Include savedir.h for prototype.
1997-10-04 01:56:23 +00:00
Jim Meyering a8cf858306 (fspec_init_dp): Use DTTOIF. Fix syntax error in code
that gets compiled on BSDI3.0 systems.
1997-10-03 02:44:33 +00:00
Jim Meyering de2517a1f4 (remove_dir): Update old comment. 1997-09-28 03:51:00 +00:00
Jim Meyering 4a32d010ef [enum RM_status]: Remove `= 2'. Add comment.
(dir_stack): Describe.
(remove_file): Revert s/fprintf/error/ change.  We don't want newlines at
end of prompt strings.
(remove_dir): Likewise.
1997-09-28 03:47:53 +00:00
Jim Meyering 3e90df41a9 tweak comment 1997-09-27 23:45:54 +00:00
Jim Meyering b7bfc2d2a2 Make echo conform to POSIX. By default, don't
interpret backslash escape sequences.
[V9_DEFAULT]: Don't #define.
(usage): Document -e option.
(main): Recognize options iff POSIXLY_CORRECT is not set.
From Bruno Haible.
1997-09-25 12:58:50 +00:00
Jim Meyering aa298d7bbe [struct tspec] (hexl_mode_trailer): Rename from `trailer.'
(dump_hexl_mode_trailer): Rename from dump_string_trailer.
Use fputs and putchar instead of trivial or %-less printfs.
(decode_one_format): Parenthesize each field_width assignment in an
argument list to make the side effect a little more apparent.
(write_block): Use fputs and putchar instead of trivial or %-less printfs.
(dump_strings): Cast string_min to off_t to avoid long-standing warning.
1997-09-22 04:59:57 +00:00
Jim Meyering f1e4f5cf82 Patch from John Kodis. 1997-09-21 20:23:58 +00:00
Jim Meyering fc802521f3 Use hash.c (chaining) functions, not those of oa-hash.c
(open addressing).  The latter implementation is wonderful when
deletions are rare, but doen't support the frequent deletions
required to implement the active directory set.
1997-09-21 04:53:14 +00:00
Jim Meyering 4d09de4e63 (main): Call parse_long_options only if POSIXLY_CORRECT
is *not* set.  Reported by Frank T Lofaro.
1997-09-17 13:04:31 +00:00
Jim Meyering e52535af00 *** empty log message *** 1997-09-16 20:03:02 +00:00
Jim Meyering 3a0056aa09 . 1997-09-16 19:59:02 +00:00
Jim Meyering 3e9c67e385 tweak message strings 1997-09-15 18:46:42 +00:00
Jim Meyering 821279c98b tweak message strings 1997-09-15 18:45:47 +00:00
Jim Meyering 312d78eca6 (install_handler): Rename from sig_handler. 1997-09-15 14:18:15 +00:00
Jim Meyering c2bbb8e875 (do_link): Perform S_ISLNK test only if lstat succeeded. 1997-09-15 14:02:47 +00:00
Jim Meyering b4204ff74c (remove_cwd_entries): Don't free entries -- they're alloca'd, now. 1997-09-15 13:24:43 +00:00
Jim Meyering 45853bf653 Use memcpy, not stpncpy. This fixes a UMR. 1997-09-15 12:34:25 +00:00
Jim Meyering eaa1924e36 Write implementation overview. 1997-09-15 03:56:19 +00:00
Jim Meyering e33f73ba8d remove obsolete comment 1997-09-15 03:31:42 +00:00
Jim Meyering e01071c1d7 tweak comment 1997-09-15 03:24:03 +00:00
Jim Meyering 6d77a9d346 (full_filename): Use realloc, not xrealloc. 1997-09-15 03:23:12 +00:00
Jim Meyering 5a74e8ae4e (equal): Use STREQ (form system.h) instead.
(siginfo_handler): New function to handle SIGINFO/SIGUSR1.
(handle_sig): New function.
(main): Use handle_sig instead of open-coding it.
Handle SIGINFO (or SIGUSR1 if that's not defined).
(print_stats): Move definition to precede first reference.
Remove prototype.
1997-09-14 17:42:33 +00:00
Jim Meyering cb628f9be3 Don't include signal.h. 1997-09-14 16:24:17 +00:00
Jim Meyering 9aef26e3d0 (main) [--traditional]: Don't give diagnostic about there
being more than three arguments if there are *no* arguments specified.
Reported by Jochen Hein.
1997-09-14 16:03:58 +00:00
Jim Meyering d5f56f9cd7 (struct col_info) [valid_len]: Rename from `valid' which conflicted
with the macro in locale.h of SunOS4.1.4.
1997-09-14 04:16:37 +00:00
Jim Meyering 22c2c69da4 (print_horizontal): Add some non-essential curly braces. 1997-09-14 04:08:52 +00:00
Jim Meyering d9f0902259 (print_many_per_line): Add some non-essential curly braces. 1997-09-14 04:07:28 +00:00
Jim Meyering 548bd7cf11 s/__inline/inline/. 1997-09-14 03:41:26 +00:00
Jim Meyering b208989a75 (PARAMS): Define.
(rm): Guard prototype in forward dcl with PARAMS.
1997-09-14 03:39:26 +00:00
Jim Meyering 561028f4ac merge from rm-fix branch 1997-09-14 02:00:48 +00:00
Jim Meyering 16f5d0a11b Add new option: --verbose (-v).
From Andreas Schwab.
1997-09-11 15:45:20 +00:00
Jim Meyering 2d93d34275 [!STDC_HEADERS]: Declare malloc. 1997-09-02 01:51:39 +00:00
Jim Meyering ba1852e6f1 (do_link): Form destination file name (when DEST is a directory) before
checking whether SOURCE and DEST are the same file.
1997-09-01 20:31:00 +00:00
Jim Meyering bb22f10c37 (main): New option --lookup (-l).
(print_entry): Only call canon_host if user explicitly asks for it.
(usage): Describe --lookup.
From Galen Hazelwood.
1997-09-01 02:08:58 +00:00
Jim Meyering a98be62643 tweak comment 1997-08-31 22:10:46 +00:00