1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-07 18:26:35 +02:00
Commit Graph

12624 Commits

Author SHA1 Message Date
Jim Meyering 28571ed121 *** empty log message *** 2002-03-16 09:43:19 +00:00
Jim Meyering 3a0036e766 . 2002-03-14 12:19:49 +00:00
Jim Meyering fa0309e396 *** empty log message *** 2002-03-12 12:12:02 +00:00
Jim Meyering 4f3c16b4f5 . FILEUTILS-4_1_7 2002-03-10 22:26:35 +00:00
Jim Meyering 16b01fbdc7 *** empty log message *** 2002-03-10 22:25:01 +00:00
Jim Meyering cd0be06ed2 (strip): Change wording in diagnostic. 2002-03-10 22:23:19 +00:00
Jim Meyering 48f998c0e8 (do_copy): Change wording in diagnostic. 2002-03-10 22:22:33 +00:00
Jim Meyering f3a82e33ac (main): Change wording in diagnostic. 2002-03-10 22:21:44 +00:00
Jim Meyering 14867399cd (make_path): Remove a comma from a diagnostic. 2002-03-10 22:15:53 +00:00
Jim Meyering 948cbc01ff *** empty log message *** 2002-03-10 20:25:56 +00:00
Jim Meyering 29dade1a06 *** empty log message *** 2002-03-10 20:20:08 +00:00
Jim Meyering 814ef75488 (GZIP, BZIP2): Remove definitions.
($(my_distdir).tar.bz2): Remove rule.  Now, it's built by `make dist'.
2002-03-10 20:19:54 +00:00
Jim Meyering 17202b905d *** empty log message *** 2002-03-10 18:43:12 +00:00
Jim Meyering 0a35becaf5 *** empty log message *** 2002-03-10 18:42:44 +00:00
Jim Meyering 21eba648bd *** empty log message *** 2002-03-10 18:41:47 +00:00
Jim Meyering c880cde6a9 reformat continued line 2002-03-10 10:22:47 +00:00
Jim Meyering 3afb09ac80 (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.
2002-03-10 10:21:55 +00:00
Jim Meyering 1595f15531 . 2002-03-10 09:30:15 +00:00
Jim Meyering a6921b13ef *** empty log message *** 2002-03-10 08:28:43 +00:00
Jim Meyering ae5a552bf1 (copy_reg): Don't exit upon finding a replaced file.
Instead, just skip it like the diagnostic says.
Reported by Paul Eggert.
2002-03-10 08:28:30 +00:00
Jim Meyering 0d4eeae035 (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.
2002-03-10 08:26:48 +00:00
Jim Meyering c4f4cfbf11 * 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.
2002-03-10 08:17:20 +00:00
Jim Meyering 8cef936d37 . 2002-03-09 22:14:08 +00:00
Jim Meyering 583ce8b6c9 . 2002-03-09 22:13:33 +00:00
Jim Meyering f369403dc6 *** empty log message *** 2002-03-09 22:13:12 +00:00
Jim Meyering 3a82fa109f *** empty log message *** 2002-03-09 22:10:47 +00:00
Jim Meyering 57d9a3625b . 2002-03-09 21:05:49 +00:00
Jim Meyering 3f81b8e189 (rm) Add comment on new parameter. 2002-03-09 21:02:05 +00:00
Jim Meyering d06faa245b *** empty log message *** 2002-03-09 20:44:11 +00:00
Jim Meyering 29544710c6 (struct dev_ino): Declare new type.
(rm): Add a parameter to the prototype.
2002-03-08 16:46:26 +00:00
Jim Meyering 7c38cd6901 (main): Call lstat `.' to get the device/inode numbers
now required for rm.
2002-03-08 16:46:11 +00:00
Jim Meyering 9419e88fc4 (do_move): The first time we resort to copy/remove,
call lstat `.' to get the device/inode numbers now required for rm.
2002-03-08 16:45:51 +00:00
Jim Meyering 2c929257dc 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.
2002-03-08 16:45:31 +00:00
Jim Meyering 28efd24883 *** empty log message *** 2002-03-08 15:41:30 +00:00
Jim Meyering bb09da15fe *** empty log message *** 2002-03-08 08:23:53 +00:00
Jim Meyering db8d2fe339 Mention that this wrapper is needed also on mips-dec-ultrix4.4 systems. 2002-03-08 08:23:47 +00:00
Jim Meyering b3183656ef . 2002-03-06 09:15:00 +00:00
Jim Meyering aa0c7901a4 update from masters 2002-03-06 09:11:13 +00:00
Jim Meyering ef8f6fe459 . 2002-03-06 09:06:01 +00:00
Jim Meyering c3aafd6932 *** empty log message *** 2002-03-06 08:56:50 +00:00
Jim Meyering b0a1aa04ba (cut invocation): Say that selected input is written in the same
order that it is read, and is written exactly once.
2002-03-06 08:56:16 +00:00
Jim Meyering e304471a9e *** empty log message *** 2002-03-05 09:03:40 +00:00
Jim Meyering 405638ebb0 *** empty log message *** 2002-03-03 23:25:58 +00:00
Jim Meyering 2020df6702 (tgz-size): Also handle a suffix of `K', since
the sizes in the output of `du -h' now look like `29K'
2002-03-03 23:25:05 +00:00
Jim Meyering c4836a7811 *** empty log message *** FILEUTILS-4_1_6 2002-03-03 22:30:13 +00:00
Jim Meyering 47c5a14bad 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.
2002-03-03 22:30:06 +00:00
Jim Meyering f6ac75fd2c *** empty log message *** 2002-03-03 22:29:41 +00:00
Jim Meyering c76a2ddf15 . 2002-03-03 22:29:36 +00:00
Jim Meyering 337e4b174d (copy_internal): Remove -r warning; no longer needed. 2002-03-03 22:29:31 +00:00
Jim Meyering 246e147a6a (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.
2002-03-03 22:28:48 +00:00