1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-29 11:59:36 +02:00
Commit Graph

10374 Commits

Author SHA1 Message Date
Jim Meyering 455ce0178b (TESTS): Add into-self-4. 2001-01-13 15:56:29 +00:00
Jim Meyering e268536dba *** empty log message *** 2001-01-13 15:55:35 +00:00
Jim Meyering e2aae9e166 add comment to go along with last change 2001-01-13 15:50:01 +00:00
Jim Meyering 8e4dbf5ab0 *** empty log message *** 2001-01-13 15:49:01 +00:00
Jim Meyering b7138e1052 (same_file_ok): When moving a symlink onto itself,
don't remove the symlink.  Reported by David Luyer as Debian bug#82089,
via Michael Stone.
2001-01-13 15:48:32 +00:00
Jim Meyering 5775f7e864 *** empty log message *** 2001-01-12 23:27:53 +00:00
Jim Meyering 6deb757ba4 * tests/chmod/setgid: If `chmod g+s d' fails, then try to chgrp
to a group of which we're a member, then try the chmod again.
2001-01-12 23:27:43 +00:00
Jim Meyering a0d25e62aa *** empty log message *** 2001-01-11 16:58:40 +00:00
Jim Meyering dc38e3a287 *** empty log message *** 2001-01-11 16:04:46 +00:00
Jim Meyering 7b99d77bc6 *** empty log message *** 2001-01-10 23:30:56 +00:00
Jim Meyering 1a79f34996 . 2001-01-10 23:08:51 +00:00
Jim Meyering ad3ec0add1 *** empty log message *** 2001-01-10 13:44:13 +00:00
Jim Meyering a3ffafd3fe . 2001-01-10 12:20:03 +00:00
Jim Meyering 2d33b67399 (TESTS): Add into-self. 2001-01-10 12:19:05 +00:00
Jim Meyering e7e6c322a0 (copy_internal): Add a comment.
Set *copy_into_self in the new code that detects that.
Make diagnostic more consistent: s/won't/will not/.
[move_mode, copy_into_self]: Give a diagnstic here, now that
we have the top_level_* globals.  Remove the corresponding diagnostic
from mv.c.
Add a FIXME comment.
2001-01-10 12:18:19 +00:00
Jim Meyering 9ea9eed873 (do_move): Remove diagnostic, now that copy.c issues it.
Set `fail' to nonzero in the primary `if (copy_into_self)' block
rather than in its own tiny one below.
2001-01-10 12:16:52 +00:00
Jim Meyering d882d1d100 *** empty log message *** 2001-01-10 11:56:59 +00:00
Jim Meyering b6e29912be [struct entry] (node): Describe how it's used,
now that we've overloaded it a little, in order to detect and diagnose
the copying-directory-into-self problem.
(new_file): Remove global.
(htab): Declare global to be static.
(remember_created): Insert file name instead of dummy pointer, so
that copy.c can use the just-created directory name to detect
the copying-directory-into-self problem.
2001-01-10 11:54:53 +00:00
Jim Meyering 687ef9f9fe *** empty log message *** 2001-01-10 10:29:57 +00:00
Jim Meyering 4e1f4a8496 *** empty log message *** 2001-01-10 10:27:09 +00:00
Jim Meyering c1485dd854 *** empty log message *** 2001-01-10 09:58:43 +00:00
Jim Meyering 35099b35ba *** empty log message *** 2001-01-10 09:56:04 +00:00
Jim Meyering 2a5fb11132 (copy_internal): Don't allow cp (or mv, when working
across a partition boundary) to overwrite a non-directory with a directory.
2001-01-10 09:43:36 +00:00
Jim Meyering a49513bedd *** empty log message *** 2001-01-10 09:42:16 +00:00
Jim Meyering fc6a8dcfb2 *** empty log message *** 2001-01-10 09:41:46 +00:00
Jim Meyering cbb4300cc2 (TESTS): Add dir-vs-file. 2001-01-10 09:41:41 +00:00
Jim Meyering deb79403bd *** empty log message *** 2001-01-10 09:41:15 +00:00
Jim Meyering 9f43a52210 *** empty log message *** 2001-01-10 09:40:47 +00:00
Jim Meyering 6bf0f043cd *** empty log message *** 2001-01-10 09:40:05 +00:00
Jim Meyering 3f1cd6f52a *** empty log message *** 2001-01-10 09:39:57 +00:00
Jim Meyering d1da062806 *** empty log message *** 2001-01-09 23:13:08 +00:00
Jim Meyering bce88bc1ae *** empty log message *** 2001-01-09 16:13:29 +00:00
Jim Meyering 8740ecf8c0 add comment 2001-01-09 16:12:59 +00:00
Jim Meyering e92e87181b (top_level_src_path, top_level_dst_path): New globals.
(copy_internal): Use them.
(copy): Set them.
2001-01-09 16:07:40 +00:00
Jim Meyering 902dacb46a *** empty log message *** 2001-01-09 15:50:13 +00:00
Jim Meyering 134bbf752c whoops. move printf args, too 2001-01-08 08:34:52 +00:00
Jim Meyering b27dd775ad (usage): Split long message string. 2001-01-07 16:15:37 +00:00
Jim Meyering e230d9a62b *** empty log message *** 2001-01-07 16:13:34 +00:00
Jim Meyering 7709a02741 Split a string that was longer than 2048 bytes. 2001-01-07 16:13:27 +00:00
Jim Meyering aaf9e9a820 (usage): Split a string that was longer than 2048 bytes. 2001-01-07 16:11:14 +00:00
Jim Meyering 674fed73ec (usage): Split a string that was longer than 2048 bytes. 2001-01-07 16:10:50 +00:00
Jim Meyering 98d1d862d5 back out last, prematurely-committed, change 2001-01-07 16:07:33 +00:00
Jim Meyering aaef348f3d Correct the indentation of an `#endif'. 2001-01-07 16:06:27 +00:00
Jim Meyering 9bc96fd932 clean up after commit hook testing 2001-01-07 10:57:29 +00:00
Jim Meyering 7b0658b00f testing -- commit should fail 2001-01-07 10:54:06 +00:00
Jim Meyering f4034df457 testing -- commit should fail 2001-01-07 10:52:43 +00:00
Jim Meyering 5856751f41 testing -- commit should fail 2001-01-07 10:51:00 +00:00
Jim Meyering 4df9c47ca7 (usage): Untabify. 2001-01-07 10:12:25 +00:00
Jim Meyering 354a71cdc2 *** empty log message *** 2001-01-07 10:12:16 +00:00
Jim Meyering 481c79dfac *** empty log message *** 2001-01-07 09:23:28 +00:00