Jim Meyering [Fri, 22 Sep 2000 20:41:40 +0000 (20:41 +0000)]
(main): When used with --force, each of the --link and
--symbolic-link options now implies --remove-destination.
Jim Meyering [Fri, 22 Sep 2000 19:30:36 +0000 (19:30 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 19:30:29 +0000 (19:30 +0000)]
(cp_option_init): Once again make it so install always
unlinks an existing destination before trying to open it for writing.
Otherwise, installing onto a running shared library would make the
running program malfunction.
Jim Meyering [Fri, 22 Sep 2000 19:28:24 +0000 (19:28 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 19:27:31 +0000 (19:27 +0000)]
(TESTS): Add dir-rm-dest.
Jim Meyering [Fri, 22 Sep 2000 18:31:02 +0000 (18:31 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 15:40:43 +0000 (15:40 +0000)]
(do_move): Moving a directory specified with a trailing
slash from one partition to another, and giving it a different
name at the destination would cause mv to get a failed assertion.
Reported by Michael Stone.
(strip_trailing_slashes_2): Move function definition to precede new first use.
Jim Meyering [Fri, 22 Sep 2000 15:39:03 +0000 (15:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 22 Sep 2000 15:38:37 +0000 (15:38 +0000)]
(TESTS): Add part-rename.
Jim Meyering [Fri, 22 Sep 2000 14:14:55 +0000 (14:14 +0000)]
(copy_internal): Don't try to unlink directories when
using --remove-dest with -R.
Jim Meyering [Fri, 22 Sep 2000 13:31:14 +0000 (13:31 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 14:40:09 +0000 (14:40 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 05:40:34 +0000 (05:40 +0000)]
*** empty log message ***
Jim Meyering [Thu, 21 Sep 2000 05:40:28 +0000 (05:40 +0000)]
(parse_user_spec): Remove debugging printf I'd added.
Argh!
Jim Meyering [Wed, 20 Sep 2000 09:43:37 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 09:43:07 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:06:06 +0000 (08:06 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:05:39 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 20 Sep 2000 08:05:24 +0000 (08:05 +0000)]
(libfetish_a_SOURCES): Add sha.c.
(noinst_HEADERS): Add sha.h.
Based on code from Scott G. Miller and from GnuPG.
Jim Meyering [Wed, 20 Sep 2000 07:38:56 +0000 (07:38 +0000)]
.
Jim Meyering [Mon, 18 Sep 2000 06:37:15 +0000 (06:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Sep 2000 06:37:01 +0000 (06:37 +0000)]
(AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
Otherwise, everyone ends up linking with -lelf for some configurations.
Reported by Mike Stone.
Jim Meyering [Sun, 17 Sep 2000 13:02:43 +0000 (13:02 +0000)]
shrink tmp array length from 80 to 16.
Jim Meyering [Sun, 17 Sep 2000 13:01:02 +0000 (13:01 +0000)]
use gnupg R/M macros
Jim Meyering [Sun, 17 Sep 2000 12:54:25 +0000 (12:54 +0000)]
checkpoint
Jim Meyering [Sun, 17 Sep 2000 11:12:31 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 17 Sep 2000 11:11:26 +0000 (11:11 +0000)]
remove debug junk
Jim Meyering [Sun, 17 Sep 2000 11:11:01 +0000 (11:11 +0000)]
moving to gnupg's version of sha1.c
Jim Meyering [Sun, 17 Sep 2000 11:08:06 +0000 (11:08 +0000)]
snapshot of massaged original
Jim Meyering [Sat, 16 Sep 2000 16:49:23 +0000 (16:49 +0000)]
.
Jim Meyering [Sat, 16 Sep 2000 16:47:06 +0000 (16:47 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Sep 2000 16:46:50 +0000 (16:46 +0000)]
Update from libc.
Jim Meyering [Sat, 16 Sep 2000 16:26:09 +0000 (16:26 +0000)]
*** empty log message ***
Jim Meyering [Sat, 16 Sep 2000 16:26:02 +0000 (16:26 +0000)]
(Changing Special Permissions): Remove this statement:
`a' in the USERS part of a symbolic mode does not cause the special
permissions to be affected... It doesn't reflect what the code does
and isn't required by POSIX. Reported by aldomel@ix.netcom.com via
Mike Stone.
Jim Meyering [Fri, 15 Sep 2000 06:33:32 +0000 (06:33 +0000)]
*** empty log message ***
Jim Meyering [Tue, 12 Sep 2000 14:04:20 +0000 (14:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Sep 2000 19:48:05 +0000 (19:48 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Sep 2000 19:47:56 +0000 (19:47 +0000)]
(LC_ALL): Set to `C' and export to ensure
that `ls' sorts the same way for everyone. Reported by Vin Shelton.
Jim Meyering [Sun, 10 Sep 2000 19:04:14 +0000 (19:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Sep 2000 19:04:09 +0000 (19:04 +0000)]
(b_host): Use freefriends.org, not tug.org.
Jim Meyering [Sun, 10 Sep 2000 07:31:54 +0000 (07:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 10 Sep 2000 07:31:44 +0000 (07:31 +0000)]
(_getopt_internal): Update from glibc.
Jim Meyering [Sat, 9 Sep 2000 16:34:17 +0000 (16:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 16:33:59 +0000 (16:33 +0000)]
(usage): Make second `Usage' line more precise
(also making it match the texinfo documentation).
Jim Meyering [Sat, 9 Sep 2000 16:02:37 +0000 (16:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 15:58:57 +0000 (15:58 +0000)]
Rename ISASCII to IN_CTYPE_DOMAIN.
Jim Meyering [Sat, 9 Sep 2000 15:58:03 +0000 (15:58 +0000)]
Rename ISASCII to IN_CTYPE_DOMAIN.
Jim Meyering [Sat, 9 Sep 2000 15:56:26 +0000 (15:56 +0000)]
Rename ISASCII to IN_CTYPE_DOMAIN.
Jim Meyering [Sat, 9 Sep 2000 14:35:39 +0000 (14:35 +0000)]
(Setting the time): Correct the capitalization of
`HHMM' in the info-rendering of the texinfo documentation.
Jim Meyering [Sat, 9 Sep 2000 14:35:18 +0000 (14:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 12:12:28 +0000 (12:12 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 12:12:16 +0000 (12:12 +0000)]
(announcement): Use a stricter regexp for the previous version.
Jim Meyering [Sat, 9 Sep 2000 09:58:16 +0000 (09:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:58:58 +0000 (08:58 +0000)]
.
Jim Meyering [Sat, 9 Sep 2000 08:58:42 +0000 (08:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:56:38 +0000 (08:56 +0000)]
.
Jim Meyering [Sat, 9 Sep 2000 08:55:48 +0000 (08:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:53:37 +0000 (08:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:42:34 +0000 (08:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:27:52 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:25:33 +0000 (08:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:24:41 +0000 (08:24 +0000)]
(TESTS_ENVIRONMENT): Propagate $MAKE into environment, for special-bits.
Jim Meyering [Sat, 9 Sep 2000 08:22:54 +0000 (08:22 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:22:19 +0000 (08:22 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:18:10 +0000 (08:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 08:17:33 +0000 (08:17 +0000)]
(TESTS): Add special-bits.
Jim Meyering [Sat, 9 Sep 2000 07:32:43 +0000 (07:32 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 07:32:36 +0000 (07:32 +0000)]
(copy_internal): Call chmod also if we've made the
preceding chown call and we're supposed to preserve some special
permission bit(s) that would have been reset by chown.
Reported by Greg Louis.
Jim Meyering [Sat, 9 Sep 2000 07:29:38 +0000 (07:29 +0000)]
(SAME_OWNER, SAME_GROUP, SAME_OWNER_AND_GROUP): Define.
(copy_internal): Avoid calling chown if we know it's not necessary.
Jim Meyering [Sat, 9 Sep 2000 07:20:54 +0000 (07:20 +0000)]
*** empty log message ***
Jim Meyering [Sat, 9 Sep 2000 07:20:46 +0000 (07:20 +0000)]
Don't use atoi.
Include sys/param.h and limits.h.
Include xstrtol.h.
(CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Define.
(UID_T_MAX, GID_T_MAX, MAXUID, MAXGID): Define.
(parse_user_spec): Use xstrtoul, not atoi when converting numeric
UID, GID. Check range.
Jim Meyering [Fri, 8 Sep 2000 09:03:05 +0000 (09:03 +0000)]
*** empty log message ***
Jim Meyering [Fri, 8 Sep 2000 09:01:32 +0000 (09:01 +0000)]
(S_IRWXUGO): Define here, instead.
Jim Meyering [Fri, 8 Sep 2000 09:01:02 +0000 (09:01 +0000)]
(S_IRWXUGO): Remove definition.
Jim Meyering [Thu, 7 Sep 2000 13:23:52 +0000 (13:23 +0000)]
*** empty log message ***
Jim Meyering [Thu, 7 Sep 2000 13:22:26 +0000 (13:22 +0000)]
.
Jim Meyering [Thu, 7 Sep 2000 13:22:14 +0000 (13:22 +0000)]
Update from master repository.
Jim Meyering [Thu, 7 Sep 2000 07:08:50 +0000 (07:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 7 Sep 2000 07:08:39 +0000 (07:08 +0000)]
(cut invocation): Note that when using -f, lines with no delimiters are
also printed.
Jim Meyering [Thu, 7 Sep 2000 07:08:17 +0000 (07:08 +0000)]
(usage): Note that when using -f, lines with no delimiters are also printed.
Jim Meyering [Thu, 7 Sep 2000 07:01:11 +0000 (07:01 +0000)]
Remove obsolete comment block.
Jim Meyering [Wed, 6 Sep 2000 20:04:17 +0000 (20:04 +0000)]
*** empty log message ***
Jim Meyering [Wed, 6 Sep 2000 20:04:06 +0000 (20:04 +0000)]
(_getopt_internal): Update from glibc.
Jim Meyering [Tue, 5 Sep 2000 12:15:38 +0000 (12:15 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Sep 2000 12:15:30 +0000 (12:15 +0000)]
Redirect stdout to stderr before trying to
remove the temp directory. Otherwise, the `rm -rf' would get an
error because the output file wouldn't be closed and the directory
wouldn't be `empty'.
Jim Meyering [Tue, 5 Sep 2000 12:04:29 +0000 (12:04 +0000)]
.
Jim Meyering [Tue, 5 Sep 2000 12:02:40 +0000 (12:02 +0000)]
Remove the `cp -bdl symlink foo' case.
since it's no longer portable (hard link to a symlink).
Jim Meyering [Tue, 5 Sep 2000 11:53:03 +0000 (11:53 +0000)]
Remove the `cp -dl sl1 sl2' case,
since it's no longer portable (hard link to a symlink).
Jim Meyering [Tue, 5 Sep 2000 10:41:18 +0000 (10:41 +0000)]
*** empty log message ***
Jim Meyering [Tue, 5 Sep 2000 10:22:35 +0000 (10:22 +0000)]
.
Jim Meyering [Mon, 4 Sep 2000 20:51:43 +0000 (20:51 +0000)]
.
Jim Meyering [Mon, 4 Sep 2000 20:51:29 +0000 (20:51 +0000)]
Remove declaration of lstat, now that it's in copy.h.
Jim Meyering [Mon, 4 Sep 2000 20:51:12 +0000 (20:51 +0000)]
Move declaractions of lstat, stat, and rpl_lstat
as well as the definition of lstat from cp.c to this file.
Jim Meyering [Mon, 4 Sep 2000 20:50:45 +0000 (20:50 +0000)]
Move declaractions of lstat, stat, and rpl_lstat
as well as the definition of lstat from here to copy.h.
Jim Meyering [Mon, 4 Sep 2000 17:01:23 +0000 (17:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 4 Sep 2000 16:58:38 +0000 (16:58 +0000)]
.
Jim Meyering [Mon, 4 Sep 2000 16:58:25 +0000 (16:58 +0000)]
mv's --force (-f) option is no longer needed for
this test, now that all it does is cancel --interactive (-i).
Jim Meyering [Mon, 4 Sep 2000 16:56:17 +0000 (16:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 4 Sep 2000 16:56:09 +0000 (16:56 +0000)]
Add new tests using cp's --rem option.
Reflect the fact that cp's -f option no longer causes cp to remove the
destination file before trying to open it.
Reflect the fact that `cp -bdl' now makes a backup when copying a
symlink onto the file it points to (FIXME: look into this, and why
cp -bl does *not* do so).
Jim Meyering [Mon, 4 Sep 2000 15:22:08 +0000 (15:22 +0000)]
*** empty log message ***