Jim Meyering
fc026cd548
.
1998-01-25 12:19:05 +00:00
Jim Meyering
7d4a70eaff
*** empty log message ***
1998-01-25 10:51:55 +00:00
Jim Meyering
186958482f
*** empty log message ***
1998-01-25 10:51:21 +00:00
Jim Meyering
da80ee04d2
.
1998-01-25 09:49:00 +00:00
Jim Meyering
dd3a865a8e
.
1998-01-25 09:47:51 +00:00
Jim Meyering
aaf66a2413
*** empty log message ***
1998-01-25 09:29:46 +00:00
Jim Meyering
0eba2a8dd7
(DO_CHOWN): Don't fail for non-root when chown fails due
...
not only to lack of permission (EPERM), but also to lack of support
(EINVAL). Reported by Bengt Martensson.
1998-01-25 09:28:48 +00:00
Jim Meyering
7c04ce1f09
(re_protect): Don't fail for non-root when chown fails due
...
not only to lack of permission (EPERM), but also to lack of support
(EINVAL). Reported by Bengt Martensson.
1998-01-25 09:27:57 +00:00
Jim Meyering
7b4833b03c
*** empty log message ***
1998-01-25 09:23:26 +00:00
Jim Meyering
3a62f8785f
(cat): Convert comma-expressions to pairs of
...
semicolon-terminated stmts.
Add braces around compound if/else stmts.
1998-01-25 08:25:05 +00:00
Jim Meyering
85923cb2bc
add missing `)'
1998-01-24 23:34:46 +00:00
Jim Meyering
bc05ba3d5a
*** empty log message ***
1998-01-24 23:33:18 +00:00
Jim Meyering
ea2969da49
(parse_obsolescent_option): Do not interpret `-f -n 1 ...'
...
as obsolescent options.
Accept new option: --sleep-interval=SECONDS (-s).
(parse_options): Recognize it.
(usage): Describe it.
(tail_forever): Use it.
(dump_remainder): Use it.
1998-01-24 23:33:02 +00:00
Jim Meyering
0966b97bd1
(f-1): Add test for option-processing of `-f -n 1'.
1998-01-24 23:32:43 +00:00
Jim Meyering
8c3fb79a89
.
1998-01-24 16:48:52 +00:00
Jim Meyering
fc68d2786b
*** empty log message ***
1998-01-24 16:27:26 +00:00
Jim Meyering
0d26afa6e0
*** empty log message ***
1998-01-24 16:22:11 +00:00
Jim Meyering
bb964b3eec
(test_failure): Note that the SunOS4.1.4 failure
...
of the ctime test is expected.
Rename does not update ctime; link does -- so use ln, not mv.
1998-01-24 16:21:48 +00:00
Jim Meyering
638776e577
*** empty log message ***
1998-01-24 15:13:58 +00:00
Jim Meyering
0881032a16
*** empty log message ***
1998-01-24 14:50:28 +00:00
Jim Meyering
c58c644f8f
*** empty log message ***
1998-01-24 14:50:16 +00:00
Jim Meyering
6e602a0232
*** empty log message ***
1998-01-24 14:49:30 +00:00
Jim Meyering
097d40b3d3
*** empty log message ***
1998-01-24 09:55:10 +00:00
Jim Meyering
57258b3446
.
1998-01-24 08:46:29 +00:00
Jim Meyering
39508b8db3
*** empty log message ***
1998-01-24 08:46:21 +00:00
Jim Meyering
cd4c2d0fdc
(TYPE_MINIMUM): Add extra outer cast to work around
...
bug in Cray C 5.0.3.0 when T == time_t.
1998-01-24 08:45:55 +00:00
Jim Meyering
8a0550a816
Adjust expected output for changed format of `rm --verbose'.
1998-01-24 08:43:46 +00:00
Jim Meyering
663d8b143c
*** empty log message ***
1998-01-23 22:09:18 +00:00
Jim Meyering
2a1a1843b7
(__mktime_internal): Work around bug in Irix4.0.5's
...
C compiler. From Kaveh Ghazi.
(TYPE_MINIMUM): Define.
(TYPE_MAXIMUM): Define.
(TIME_T_MIN): Use TYPE_MINIMUM.
(TIME_T_MAX): Use TYPE_MAXIMUM.
1998-01-23 22:02:54 +00:00
Jim Meyering
9c70563ee7
add curlies
1998-01-23 18:34:12 +00:00
Jim Meyering
37ce5a5497
.
1998-01-22 23:29:35 +00:00
Jim Meyering
37a3052a36
*** empty log message ***
1998-01-22 09:03:08 +00:00
Jim Meyering
2a4842f7f3
(quit): Declare to be inline to stifle compile warning.
1998-01-22 08:58:12 +00:00
Jim Meyering
d82fadf365
Reorder functions to obviate forward dcls.
1998-01-22 08:55:13 +00:00
Jim Meyering
ef63ce007d
(do_copy): Add unreachable `return 0' to stifle warning.
1998-01-22 08:36:27 +00:00
Jim Meyering
6a8e657775
.
1998-01-22 08:33:34 +00:00
Jim Meyering
309819620b
(TESTS_ENVIRONMENT): Add TOUCH.
1998-01-22 08:33:26 +00:00
Jim Meyering
f7bb262cc8
minor tweaks
1998-01-22 08:33:02 +00:00
Jim Meyering
d5494d57f5
Don't use -f. Do adjust $RM if it's a relative path.
1998-01-22 08:32:22 +00:00
Jim Meyering
14a2593daf
Use GNU touch to work around problems with NFS caching and/or clock skew.
1998-01-22 08:27:16 +00:00
Jim Meyering
9cdd2e05e6
(copy_internal): Use x->backup_type, not the global.
...
(valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE.
1998-01-22 08:22:00 +00:00
Jim Meyering
6cce6a1b7f
[NDEBUG]: Comment out definition.
...
(do_copy): Use x->backup_type, not the global.
1998-01-22 08:19:17 +00:00
Jim Meyering
d9f0ca41bd
(rm_option_init): New function.
...
(cp_option_init): New function.
(copy_reg): Remove now-unused function.
(do_move): Set up for and use `copy.c (copy)' in place of copy_reg.
Set up for and use `remove.c (rm)' in place of unlink.
1998-01-22 08:16:09 +00:00
Jim Meyering
df7cef21c7
Remove and minimally librarify guts for use in mv.c.
...
(main): Pass options (`&x') to rm.
Call remove_init and remove_fini instead of open-coding them.
1998-01-22 08:14:52 +00:00
Jim Meyering
9f2d1beded
*** empty log message ***
1998-01-22 08:14:17 +00:00
Jim Meyering
ff59218d54
New file. Contains guts of old rm.c.
...
(remove_init): New function.
(remove_fini): New function.
1998-01-22 08:13:57 +00:00
Jim Meyering
1a18272561
Declare new global, backup_type.
...
(main): Initialize backup_type unconditionally.
(do_link): Call find_backup_file_name with new argument, backup_type.
1998-01-22 08:13:12 +00:00
Jim Meyering
2bdf8621d6
Declare new global, backup_type.
...
(main): Initialize backup_type unconditionally.
(copy_file): Call find_backup_file_name with new backup_type, argument.
1998-01-22 08:12:24 +00:00
Jim Meyering
758ab7a013
*** empty log message ***
1998-01-21 16:37:09 +00:00
Jim Meyering
734d1cccc3
(VALID_SPARSE_MODE): Define.
...
[struct cp_options] (backup_type): New member.
1998-01-21 16:16:00 +00:00