platform/upstream/coreutils.git
22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 22:25:01 +0000 (22:25 +0000)]
*** empty log message ***

22 years ago(strip): Change wording in diagnostic.
Jim Meyering [Sun, 10 Mar 2002 22:23:19 +0000 (22:23 +0000)]
(strip): Change wording in diagnostic.

22 years ago(do_copy): Change wording in diagnostic.
Jim Meyering [Sun, 10 Mar 2002 22:22:33 +0000 (22:22 +0000)]
(do_copy): Change wording in diagnostic.

22 years ago(main): Change wording in diagnostic.
Jim Meyering [Sun, 10 Mar 2002 22:21:44 +0000 (22:21 +0000)]
(main): Change wording in diagnostic.

22 years ago(make_path): Remove a comma from a diagnostic.
Jim Meyering [Sun, 10 Mar 2002 22:15:53 +0000 (22:15 +0000)]
(make_path): Remove a comma from a diagnostic.

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 20:25:56 +0000 (20:25 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 20:20:08 +0000 (20:20 +0000)]
*** empty log message ***

22 years ago(GZIP, BZIP2): Remove definitions.
Jim Meyering [Sun, 10 Mar 2002 20:19:54 +0000 (20:19 +0000)]
(GZIP, BZIP2): Remove definitions.
($(my_distdir).tar.bz2): Remove rule.  Now, it's built by `make dist'.

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 18:43:12 +0000 (18:43 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 18:42:44 +0000 (18:42 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 18:41:47 +0000 (18:41 +0000)]
*** empty log message ***

22 years agoreformat continued line
Jim Meyering [Sun, 10 Mar 2002 10:22:47 +0000 (10:22 +0000)]
reformat continued line

22 years ago(gmsgfmt_cmd): New variable.
Jim Meyering [Sun, 10 Mar 2002 10:21:55 +0000 (10:21 +0000)]
(gmsgfmt_cmd): New variable.
(.po.gmo): Use it here.

(.po.mo): Don't create target directly --
otherwise a failed gmsgfmt command would leave a corrupt,
yet up-to-date, .gmo file.
(.po.gmo): Likewise.

22 years ago.
Jim Meyering [Sun, 10 Mar 2002 09:30:15 +0000 (09:30 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Mar 2002 08:28:43 +0000 (08:28 +0000)]
*** empty log message ***

22 years ago(copy_reg): Don't exit upon finding a replaced file.
Jim Meyering [Sun, 10 Mar 2002 08:28:30 +0000 (08:28 +0000)]
(copy_reg): Don't exit upon finding a replaced file.
Instead, just skip it like the diagnostic says.
Reported by Paul Eggert.

22 years ago(copy_reg): Use a more concise diagnostic for
Jim Meyering [Sun, 10 Mar 2002 08:26:48 +0000 (08:26 +0000)]
(copy_reg): Use a more concise diagnostic for
reporting replaced files.  This avoids a bug in the code,
which mishandled ino_t wider than long.

22 years ago* src/copy.c (copy_reg): Use a more concise diagnostic for
Jim Meyering [Sun, 10 Mar 2002 08:17:20 +0000 (08:17 +0000)]
* src/copy.c (copy_reg): Use a more concise diagnostic for
reporting replaced files.  This avoids a bug in the code,
which mishandled ino_t wider than long.
* src/remove.c (remove_dir): Likewise, twice.

22 years ago.
Jim Meyering [Sat, 9 Mar 2002 22:14:08 +0000 (22:14 +0000)]
.

22 years ago.
Jim Meyering [Sat, 9 Mar 2002 22:13:33 +0000 (22:13 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 9 Mar 2002 22:13:12 +0000 (22:13 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 9 Mar 2002 22:10:47 +0000 (22:10 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sat, 9 Mar 2002 21:05:49 +0000 (21:05 +0000)]
.

22 years ago(rm) Add comment on new parameter.
Jim Meyering [Sat, 9 Mar 2002 21:02:05 +0000 (21:02 +0000)]
(rm) Add comment on new parameter.

22 years ago*** empty log message ***
Jim Meyering [Sat, 9 Mar 2002 20:44:11 +0000 (20:44 +0000)]
*** empty log message ***

22 years ago(struct dev_ino): Declare new type.
Jim Meyering [Fri, 8 Mar 2002 16:46:26 +0000 (16:46 +0000)]
(struct dev_ino): Declare new type.
(rm): Add a parameter to the prototype.

22 years ago(main): Call lstat `.' to get the device/inode numbers
Jim Meyering [Fri, 8 Mar 2002 16:46:11 +0000 (16:46 +0000)]
(main): Call lstat `.' to get the device/inode numbers
now required for rm.

22 years ago(do_move): The first time we resort to copy/remove,
Jim Meyering [Fri, 8 Mar 2002 16:45:51 +0000 (16:45 +0000)]
(do_move): The first time we resort to copy/remove,
call lstat `.' to get the device/inode numbers now required for rm.

22 years agoDon't allow a malicious user to trick another user's rm process into
Jim Meyering [Fri, 8 Mar 2002 16:45:31 +0000 (16:45 +0000)]
Don't allow a malicious user to trick another user's rm process into
removing unintended files.  In one scenario, if root is removing a
hierarchy that is writable by the malicious user, that user may trick
root into removing all of `/'.  Reported by Wojciech Purczynski.

(remove_dir): After chdir `..', call lstat to get the
dev/inode of "." and fail if they aren't the same as the old numbers.
(remove_cwd_entries): New parameter, `cwd_dev_ino'.
(remove_dir): Likewise.
(rm): Likewise.
Adjust all callers.

22 years ago*** empty log message ***
Jim Meyering [Fri, 8 Mar 2002 15:41:30 +0000 (15:41 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 8 Mar 2002 08:23:53 +0000 (08:23 +0000)]
*** empty log message ***

22 years agoMention that this wrapper is needed also on mips-dec-ultrix4.4 systems.
Jim Meyering [Fri, 8 Mar 2002 08:23:47 +0000 (08:23 +0000)]
Mention that this wrapper is needed also on mips-dec-ultrix4.4 systems.

22 years ago.
Jim Meyering [Wed, 6 Mar 2002 09:15:00 +0000 (09:15 +0000)]
.

22 years agoupdate from masters
Jim Meyering [Wed, 6 Mar 2002 09:11:13 +0000 (09:11 +0000)]
update from masters

22 years ago.
Jim Meyering [Wed, 6 Mar 2002 09:06:01 +0000 (09:06 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Wed, 6 Mar 2002 08:56:50 +0000 (08:56 +0000)]
*** empty log message ***

22 years ago(cut invocation): Say that selected input is written in the same
Jim Meyering [Wed, 6 Mar 2002 08:56:16 +0000 (08:56 +0000)]
(cut invocation): Say that selected input is written in the same
order that it is read, and is written exactly once.

22 years ago*** empty log message ***
Jim Meyering [Tue, 5 Mar 2002 09:03:40 +0000 (09:03 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 3 Mar 2002 23:25:58 +0000 (23:25 +0000)]
*** empty log message ***

22 years ago(tgz-size): Also handle a suffix of `K', since
Jim Meyering [Sun, 3 Mar 2002 23:25:05 +0000 (23:25 +0000)]
(tgz-size): Also handle a suffix of `K', since
the sizes in the output of `du -h' now look like `29K'

22 years ago*** empty log message *** FILEUTILS-4_1_6
Jim Meyering [Sun, 3 Mar 2002 22:30:13 +0000 (22:30 +0000)]
*** empty log message ***

22 years agoMake cp -r equivalent to cp -R. Add a new cp option --copy-contents
Jim Meyering [Sun, 3 Mar 2002 22:30:06 +0000 (22:30 +0000)]
Make cp -r equivalent to cp -R.  Add a new cp option --copy-contents
for people who want to emulate the traditional (and rarely desirable)
cp -r behavior.

(cp invocation): Document this.
Fix some related minor bugs: --no-dereference is no longer
equivalent to -d, and --archive (-a) can override the other
symlink options.  Warn that cp -R is not portable on symbolic
links unless you also specify -P.

22 years ago*** empty log message ***
Jim Meyering [Sun, 3 Mar 2002 22:29:41 +0000 (22:29 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sun, 3 Mar 2002 22:29:36 +0000 (22:29 +0000)]
.

22 years ago(copy_internal): Remove -r warning; no longer needed.
Jim Meyering [Sun, 3 Mar 2002 22:29:31 +0000 (22:29 +0000)]
(copy_internal): Remove -r warning; no longer needed.

22 years ago(COPY_CONTENTS_OPTION): New enum value.
Jim Meyering [Sun, 3 Mar 2002 22:28:48 +0000 (22:28 +0000)]
(COPY_CONTENTS_OPTION): New enum value.
(long_opts): Add --copy-contents.
(usage): Describe new behavior.  Sort options.
(main): Implement new behavior.  Remove diagnostics for -a and -r;
no longer needed.

22 years ago.
Jim Meyering [Sun, 3 Mar 2002 09:57:20 +0000 (09:57 +0000)]
.

22 years ago.
Jim Meyering [Sun, 3 Mar 2002 09:54:53 +0000 (09:54 +0000)]
.

22 years ago.
Jim Meyering [Sat, 2 Mar 2002 17:43:10 +0000 (17:43 +0000)]
.

22 years agoReflect changed semantics of cp's -r option.
Jim Meyering [Sat, 2 Mar 2002 17:42:45 +0000 (17:42 +0000)]
Reflect changed semantics of cp's -r option.

22 years ago.
Jim Meyering [Sat, 2 Mar 2002 17:39:58 +0000 (17:39 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 2 Mar 2002 17:39:26 +0000 (17:39 +0000)]
*** empty log message ***

22 years ago(strnlen): Define-away/undef so that an inconsistent prototype in
Jim Meyering [Sat, 2 Mar 2002 17:39:17 +0000 (17:39 +0000)]
(strnlen): Define-away/undef so that an inconsistent prototype in
string.h (on at least AIX4.3.2.0 w/gcc-2.95.3) doesn't cause trouble.

22 years ago.
Jim Meyering [Sat, 2 Mar 2002 17:37:50 +0000 (17:37 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 2 Mar 2002 17:36:04 +0000 (17:36 +0000)]
*** empty log message ***

22 years ago(cp invocation): Document that cp -r
Jim Meyering [Sat, 2 Mar 2002 17:35:39 +0000 (17:35 +0000)]
(cp invocation): Document that cp -r
preserves symlinks.  Emphasize non-portability of cp -r.

22 years ago(main): Warn when -r is specified before --archive (-a).
Jim Meyering [Sat, 2 Mar 2002 17:23:34 +0000 (17:23 +0000)]
(main): Warn when -r is specified before --archive (-a).

22 years agoadd a comment
Jim Meyering [Sat, 2 Mar 2002 17:17:49 +0000 (17:17 +0000)]
add a comment

22 years ago(copy_internal): For each symlink copied by cp -r,
Jim Meyering [Sat, 2 Mar 2002 17:16:42 +0000 (17:16 +0000)]
(copy_internal): For each symlink copied by cp -r,
issue a warning that `cp -r' is not portable.

22 years ago(main): Revert change of 2001-12-29. With this change,
Jim Meyering [Sat, 2 Mar 2002 17:15:42 +0000 (17:15 +0000)]
(main): Revert change of 2001-12-29.  With this change,
cp -r once again preserves symlinks.
(usage): Document the original (now-restored) behavior.

22 years ago*** empty log message ***
Jim Meyering [Sat, 2 Mar 2002 16:44:07 +0000 (16:44 +0000)]
*** empty log message ***

22 years ago(main): Fail if -r is specified after --archive (-a) on the command line.
Jim Meyering [Sat, 2 Mar 2002 16:44:02 +0000 (16:44 +0000)]
(main): Fail if -r is specified after --archive (-a) on the command line.

22 years agobe careful about leading/trailing spaces
Jim Meyering [Sat, 2 Mar 2002 13:24:46 +0000 (13:24 +0000)]
be careful about leading/trailing spaces

22 years ago*** empty log message ***
Jim Meyering [Sat, 2 Mar 2002 08:38:57 +0000 (08:38 +0000)]
*** empty log message ***

22 years ago(copy_reg): Detect abuse of a race condition
Jim Meyering [Sat, 2 Mar 2002 08:38:47 +0000 (08:38 +0000)]
(copy_reg): Detect abuse of a race condition
whereby an unprivileged user could gain read access to otherwise-
inaccessible files when root uses cp or mv to copy a hierarchy
belonging to that user.

22 years agoInclude timespec.h.
Jim Meyering [Fri, 1 Mar 2002 23:57:21 +0000 (23:57 +0000)]
Include timespec.h.
(strftime, time, stime): Remove declarations; no longer needed.
(usage): Document %N.
(main): Use gettime rather than time to get the time of day,
so that we can get fractional times.
Similarly for settime and stime, so that we can set fractional times
(though this currently is not available to the user since we don't
parse fractional times; add FIXMES for that).
Check for gettime failures; e.g. this can occur if it
is past 2038 and we are a 32-bit app running on a 64-bit OS.
Get fractional part of file time stamps.
Do not falsely report failures just because time_t happens to be -1
(e.g. a file time stamp 1 second before the epoch).
(show_date): 2nd arg is now struct timespec, not time_t.
All uses changed.  Use nstrftime rather than strftime, so that
we can format fractional seconds.

22 years ago*** empty log message ***
Jim Meyering [Fri, 1 Mar 2002 23:54:58 +0000 (23:54 +0000)]
*** empty log message ***

22 years ago(gettime): Test HAVE_CLOCK_GETTIME, not HAVE_CLOCK_SETTIME.
Jim Meyering [Fri, 1 Mar 2002 23:54:52 +0000 (23:54 +0000)]
(gettime): Test HAVE_CLOCK_GETTIME, not HAVE_CLOCK_SETTIME.

22 years ago.
Jim Meyering [Fri, 1 Mar 2002 23:36:30 +0000 (23:36 +0000)]
.

22 years ago(strftime-check): Add `N'.
Jim Meyering [Fri, 1 Mar 2002 23:35:58 +0000 (23:35 +0000)]
(strftime-check): Add `N'.

22 years ago(Time directives): Add %N for nanoseconds.
Jim Meyering [Fri, 1 Mar 2002 23:35:00 +0000 (23:35 +0000)]
(Time directives): Add %N for nanoseconds.
This documents the recent change to 'ls'.

22 years agoreflect renaming: nanosleep.h -> timespec.h
Jim Meyering [Fri, 1 Mar 2002 23:34:23 +0000 (23:34 +0000)]
reflect renaming: nanosleep.h -> timespec.h

22 years ago*** empty log message ***
Jim Meyering [Fri, 1 Mar 2002 23:29:32 +0000 (23:29 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 1 Mar 2002 23:28:21 +0000 (23:28 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 1 Mar 2002 23:26:26 +0000 (23:26 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Do not replace stime; no longer used.
Jim Meyering [Fri, 1 Mar 2002 23:26:10 +0000 (23:26 +0000)]
(jm_MACROS): Do not replace stime; no longer used.
Check for clock_settime.

22 years ago*** empty log message ***
Jim Meyering [Fri, 1 Mar 2002 23:21:09 +0000 (23:21 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Fri, 1 Mar 2002 23:21:01 +0000 (23:21 +0000)]
.

22 years ago(libfetish_a_SOURCES): Add gettime.c, settime.c,
Jim Meyering [Fri, 1 Mar 2002 23:20:53 +0000 (23:20 +0000)]
(libfetish_a_SOURCES): Add gettime.c, settime.c,
timespec.h.  Remove nanosleep.h.

22 years agonew file, from Paul Eggert
Jim Meyering [Fri, 1 Mar 2002 23:20:20 +0000 (23:20 +0000)]
new file, from Paul Eggert

22 years agoReflect renaming: nanosleep.h -> timespec.h.
Jim Meyering [Fri, 1 Mar 2002 23:19:28 +0000 (23:19 +0000)]
Reflect renaming: nanosleep.h -> timespec.h.

22 years agonew macros/decls, from Paul Eggert
Jim Meyering [Fri, 1 Mar 2002 23:16:55 +0000 (23:16 +0000)]
new macros/decls, from Paul Eggert

22 years agorenamed from nanosleep.h
Jim Meyering [Fri, 1 Mar 2002 23:15:29 +0000 (23:15 +0000)]
renamed from nanosleep.h

22 years ago(decode_switches, usage): Add --time-style=+FORMAT.
Jim Meyering [Thu, 28 Feb 2002 08:34:43 +0000 (08:34 +0000)]
(decode_switches, usage): Add --time-style=+FORMAT.

22 years ago*** empty log message ***
Jim Meyering [Thu, 28 Feb 2002 08:30:31 +0000 (08:30 +0000)]
*** empty log message ***

22 years ago(pr invocation): Reword to avoid using `:'
Jim Meyering [Thu, 28 Feb 2002 08:30:19 +0000 (08:30 +0000)]
(pr invocation): Reword to avoid using `:'
in an @opindex entry -- info doesn't permit it.

22 years ago*** empty log message ***
Jim Meyering [Thu, 28 Feb 2002 08:20:05 +0000 (08:20 +0000)]
*** empty log message ***

22 years ago(Formatting file timestamps): Document new
Jim Meyering [Thu, 28 Feb 2002 08:19:50 +0000 (08:19 +0000)]
(Formatting file timestamps): Document new
time-formatting method: --time-style=+FORMAT.

22 years ago.
Jim Meyering [Tue, 26 Feb 2002 16:03:24 +0000 (16:03 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:48:03 +0000 (15:48 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:39:27 +0000 (15:39 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:38:49 +0000 (15:38 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:22:22 +0000 (15:22 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:22:09 +0000 (15:22 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:21:39 +0000 (15:21 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 15:21:11 +0000 (15:21 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Require AC_FUNC_ACL.
Jim Meyering [Tue, 26 Feb 2002 15:20:39 +0000 (15:20 +0000)]
(jm_MACROS): Require AC_FUNC_ACL.
Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.

22 years agoInclude "acl.h" rather than <sys/acl.h>.
Jim Meyering [Tue, 26 Feb 2002 15:20:00 +0000 (15:20 +0000)]
Include "acl.h" rather than <sys/acl.h>.
(USE_ACL): Remove; replaced by HAVE_ACL everywhere.
(gobble_file): Use file_has_acl rather than doing it ourselves.

22 years ago*** empty log message ***
Jim Meyering [Tue, 26 Feb 2002 14:53:28 +0000 (14:53 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add acl.h, acl.c.
Jim Meyering [Tue, 26 Feb 2002 14:53:18 +0000 (14:53 +0000)]
(libfetish_a_SOURCES): Add acl.h, acl.c.