Jim Meyering [Thu, 10 Jul 1997 18:25:05 +0000 (18:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 1997 17:32:31 +0000 (17:32 +0000)]
.
Jim Meyering [Thu, 10 Jul 1997 17:31:40 +0000 (17:31 +0000)]
.
Jim Meyering [Thu, 10 Jul 1997 17:31:29 +0000 (17:31 +0000)]
.
Jim Meyering [Thu, 10 Jul 1997 17:30:50 +0000 (17:30 +0000)]
.
Jim Meyering [Thu, 10 Jul 1997 17:29:09 +0000 (17:29 +0000)]
.
Jim Meyering [Thu, 10 Jul 1997 16:19:13 +0000 (16:19 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 1997 16:16:17 +0000 (16:16 +0000)]
convert obsolescent tests to posix-style ones
Jim Meyering [Thu, 10 Jul 1997 15:56:33 +0000 (15:56 +0000)]
Include $0 in `wrong number of elements...' message.
Jim Meyering [Thu, 10 Jul 1997 15:56:09 +0000 (15:56 +0000)]
Remove $. from duplicate test name message
Jim Meyering [Thu, 10 Jul 1997 15:38:43 +0000 (15:38 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 1997 15:35:01 +0000 (15:35 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 1997 15:34:31 +0000 (15:34 +0000)]
.
Jim Meyering [Thu, 10 Jul 1997 15:26:51 +0000 (15:26 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 21:14:40 +0000 (21:14 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 18:11:59 +0000 (18:11 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 18:03:56 +0000 (18:03 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 18:03:12 +0000 (18:03 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 18:02:07 +0000 (18:02 +0000)]
(make_path): Chdir to `/' before starting if necessary.
Call save_cwd before while loop rather than from first iteration inside it.
Jim Meyering [Wed, 9 Jul 1997 17:57:48 +0000 (17:57 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 15:55:41 +0000 (15:55 +0000)]
(strverscmp): Add `parenentheses around arithmetic in operand of |'
as suggested by gcc -Wall.
Jim Meyering [Wed, 9 Jul 1997 15:42:54 +0000 (15:42 +0000)]
indent
Jim Meyering [Wed, 9 Jul 1997 15:33:27 +0000 (15:33 +0000)]
fix typo in comment
Jim Meyering [Wed, 9 Jul 1997 15:32:31 +0000 (15:32 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 15:31:29 +0000 (15:31 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 15:30:22 +0000 (15:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 15:28:14 +0000 (15:28 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 15:28:01 +0000 (15:28 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 15:21:03 +0000 (15:21 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 14:21:30 +0000 (14:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 14:20:14 +0000 (14:20 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 14:18:57 +0000 (14:18 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 14:16:44 +0000 (14:16 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 14:12:13 +0000 (14:12 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 14:05:31 +0000 (14:05 +0000)]
.
Jim Meyering [Wed, 9 Jul 1997 14:05:22 +0000 (14:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 9 Jul 1997 14:00:27 +0000 (14:00 +0000)]
Add comments.
Jim Meyering [Tue, 8 Jul 1997 23:20:50 +0000 (23:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 8 Jul 1997 23:06:36 +0000 (23:06 +0000)]
*** empty log message ***
Jim Meyering [Tue, 8 Jul 1997 23:05:32 +0000 (23:05 +0000)]
*** empty log message ***
Jim Meyering [Tue, 8 Jul 1997 23:04:58 +0000 (23:04 +0000)]
*** empty log message ***
Jim Meyering [Tue, 8 Jul 1997 23:00:29 +0000 (23:00 +0000)]
.
Jim Meyering [Tue, 8 Jul 1997 22:44:58 +0000 (22:44 +0000)]
.
Jim Meyering [Tue, 8 Jul 1997 22:43:38 +0000 (22:43 +0000)]
.
Jim Meyering [Sun, 6 Jul 1997 21:28:04 +0000 (21:28 +0000)]
(mode_create_from_ref): New function.
Jim Meyering [Sun, 6 Jul 1997 21:27:44 +0000 (21:27 +0000)]
(mode_create_from_ref): Add prototype.
(MODE_MASK_ALL): New define.
(MODE_BAD_REFERENCE): New define.
Jim Meyering [Sun, 6 Jul 1997 21:27:07 +0000 (21:27 +0000)]
(getuidbyname): Declare parameter to be const.
(getgidbyname): Declare parameter to be const.
Jim Meyering [Sun, 6 Jul 1997 21:25:57 +0000 (21:25 +0000)]
(noinst_HEADERS): Add strverscmp.h.
Jim Meyering [Sun, 6 Jul 1997 21:25:19 +0000 (21:25 +0000)]
.
Jim Meyering [Sun, 6 Jul 1997 21:24:10 +0000 (21:24 +0000)]
declare stpcpy
Jim Meyering [Sun, 6 Jul 1997 21:23:42 +0000 (21:23 +0000)]
Add new option: --sort=version (-v).
Jim Meyering [Sun, 6 Jul 1997 14:47:50 +0000 (14:47 +0000)]
(libfu_a_SOURCES): Add strverscmp.c.
(noinst_HEADERS): Add strverscmp.h.
Jim Meyering [Sun, 6 Jul 1997 13:52:12 +0000 (13:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Jul 1997 13:51:16 +0000 (13:51 +0000)]
(print_long_format): Reflect changes in semantics of getuser, getgroup.
Jim Meyering [Sun, 6 Jul 1997 13:50:29 +0000 (13:50 +0000)]
(getuser): Return NULL (rather than stringified uid) upon lookup failure.
(getgroup): Likewise.
(getuidbyname) [NOT_USED]: #ifdef-out unused function.
(getgidbyname) [NOT_USED]: #ifdef-out unused function.
Jim Meyering [Sun, 6 Jul 1997 11:57:38 +0000 (11:57 +0000)]
Change some #ifdef to #if.
Indent a cpp directive.
Jim Meyering [Sat, 5 Jul 1997 22:52:33 +0000 (22:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Jul 1997 22:50:58 +0000 (22:50 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Jul 1997 22:50:32 +0000 (22:50 +0000)]
(parse_obsolescent_option): If POSIXLY_CORRECT is set, give
a diagnostic and fail when there are two or more non-option arguments.
Jim Meyering [Sat, 5 Jul 1997 13:24:11 +0000 (13:24 +0000)]
.
Jim Meyering [Sat, 5 Jul 1997 13:23:18 +0000 (13:23 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Jul 1997 08:26:21 +0000 (08:26 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Jul 1997 08:25:58 +0000 (08:25 +0000)]
Redefine/undef getusershell around inclusion of <unistd.h>
(via system.h) so Cray's int-returning prototype doesn't conflict
with our char*-returning one.
Jim Meyering [Fri, 4 Jul 1997 23:05:22 +0000 (23:05 +0000)]
.
Jim Meyering [Fri, 4 Jul 1997 23:04:21 +0000 (23:04 +0000)]
regenerate with updated mk-script
Jim Meyering [Fri, 4 Jul 1997 19:12:34 +0000 (19:12 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Jul 1997 19:12:25 +0000 (19:12 +0000)]
Redirect output of cmp to /dev/null.
Jim Meyering [Fri, 4 Jul 1997 19:05:12 +0000 (19:05 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Jul 1997 19:01:55 +0000 (19:01 +0000)]
.
Jim Meyering [Fri, 4 Jul 1997 15:02:30 +0000 (15:02 +0000)]
.
Jim Meyering [Fri, 4 Jul 1997 15:02:06 +0000 (15:02 +0000)]
regenerate with updated ../Makefile.am.in
Jim Meyering [Fri, 4 Jul 1997 15:01:57 +0000 (15:01 +0000)]
regenerate with updated mk-script
Jim Meyering [Fri, 4 Jul 1997 15:01:06 +0000 (15:01 +0000)]
.
Jim Meyering [Fri, 4 Jul 1997 14:43:55 +0000 (14:43 +0000)]
regenerate with updated mk-script
Jim Meyering [Fri, 4 Jul 1997 14:43:06 +0000 (14:43 +0000)]
regenerate with updated ../Makefile.am.in
Jim Meyering [Fri, 4 Jul 1997 14:42:16 +0000 (14:42 +0000)]
.
Jim Meyering [Fri, 4 Jul 1997 08:20:55 +0000 (08:20 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Jul 1997 08:09:15 +0000 (08:09 +0000)]
(validate): Create test files in $(srcdir), not in build dir.
Jim Meyering [Fri, 4 Jul 1997 07:53:28 +0000 (07:53 +0000)]
*** empty log message ***
Jim Meyering [Thu, 3 Jul 1997 12:16:41 +0000 (12:16 +0000)]
(apply_attributes): New function.
(copy_reg): Use apply_attributes instead of open-coding the pieces.
Now, failure to preserve file attributes does not cause mv to change
its exit status, and such failures elicit warning diagnostics. This
behavior is required by POSIX. Before, failure to preserve ownership
due to insufficient access was diagnosed only for root.
Prompted by a report from Bengt Martensson.
Jim Meyering [Thu, 3 Jul 1997 12:13:31 +0000 (12:13 +0000)]
*** empty log message ***
Jim Meyering [Thu, 3 Jul 1997 10:29:48 +0000 (10:29 +0000)]
*** empty log message ***
Jim Meyering [Thu, 3 Jul 1997 10:28:51 +0000 (10:28 +0000)]
(test_vector): Remove bogus TZ=GMT environment setting.
Jim Meyering [Wed, 2 Jul 1997 16:09:39 +0000 (16:09 +0000)]
.
Jim Meyering [Wed, 2 Jul 1997 16:07:44 +0000 (16:07 +0000)]
(STRTOX): Convert function header in macro definition
to K&R-style. Otherwise, ansi2knr would fail to convert the function
definitions to K&R for old style compilers. From Kaveh Ghazi.
Jim Meyering [Tue, 1 Jul 1997 11:55:55 +0000 (11:55 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Jul 1997 11:50:44 +0000 (11:50 +0000)]
.
Jim Meyering [Tue, 1 Jul 1997 11:50:39 +0000 (11:50 +0000)]
(make_path): Reorder stat-then-mkdir-if-missing
calls so that mkdir is called first. Before make_path would first
`stat' a directory, then call mkdir if it didn't exist. But if
some other process created the directory between the stat & mkdir,
the mkdir would fail with EEXIST. Diagnosis and suggestion from
Greg McGary.
Jim Meyering [Tue, 1 Jul 1997 11:50:08 +0000 (11:50 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Jul 1997 11:30:08 +0000 (11:30 +0000)]
[putenv]: Undefine before including system headers.
Otherwise, the declaration of *rpl_putenv* conflicts with the system
prototype on at least Irix5.3. From Marcus Daniels.
Jim Meyering [Mon, 30 Jun 1997 04:00:48 +0000 (04:00 +0000)]
*** empty log message ***
Jim Meyering [Mon, 30 Jun 1997 03:53:28 +0000 (03:53 +0000)]
.
Jim Meyering [Mon, 30 Jun 1997 01:58:23 +0000 (01:58 +0000)]
.
Jim Meyering [Sun, 29 Jun 1997 22:26:54 +0000 (22:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 22:26:18 +0000 (22:26 +0000)]
(base_name_strip_trailing_slashes): Remove.
Jim Meyering [Sun, 29 Jun 1997 22:25:54 +0000 (22:25 +0000)]
(base_name_strip_trailing_slashes): new function.
Jim Meyering [Sun, 29 Jun 1997 22:24:26 +0000 (22:24 +0000)]
(copy): Add FIXME comment.
Jim Meyering [Sun, 29 Jun 1997 22:21:51 +0000 (22:21 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Jun 1997 22:21:42 +0000 (22:21 +0000)]
(copy_reg): New parameter, SOURCE_STATS.
(do_move): Update caller.
(movefile): Take new boolean parameter, DEST_IS_DIR,
to save a stat per moved file when the destination is a directory.
(main): Call movefile with additional argument.
(strip_trailing_slashes_2): New function.
(movefile): Remove trailing slashes from dest. Otherwise, stat ("b/")
fails with ENOTDIR on systems including Linux w/libc 2.0.30.
Reproduce with `rm -rf a b; mkdir a; touch b; ./mv a b/'.
(do_move): Fix misleading comment.
Jim Meyering [Sun, 29 Jun 1997 21:24:26 +0000 (21:24 +0000)]
*** empty log message ***