Commit Graph

10389 Commits

Author SHA1 Message Date
Jim Meyering 4d8de6887f *** empty log message *** 2001-01-14 15:35:07 +00:00
Jim Meyering 5b2304d7b4 Include stdlib.h, string.h or strings.h, and xalloc.h.
Use strip_trailing_slashes rather than open-coding it.
2001-01-14 15:34:22 +00:00
Jim Meyering b6863fa3c9 *** empty log message *** 2001-01-14 15:28:54 +00:00
Jim Meyering c0ba4297c5 Use temporary directories named conftestdir{,2}, not
foo and bar.  Create conftestdir/ in the script, not in the C code.
Remove directories in the script, not in the C code.
2001-01-14 15:28:45 +00:00
Jim Meyering acc13fdc89 from Volker Borchert 2001-01-14 11:08:35 +00:00
Jim Meyering ee56fd2719 (jm_MACROS): Require vb_FUNC_RENAME. 2001-01-14 11:07:45 +00:00
Jim Meyering 16863fa14e check for SunOS4.1.1U bug in rename 2001-01-14 11:07:28 +00:00
Jim Meyering c957bbdeae (TESTS): Add trailing-slash. 2001-01-14 11:06:20 +00:00
Jim Meyering c6a4fe00db from Volker Borchert 2001-01-14 11:05:50 +00:00
Jim Meyering 30fc8c55a3 [RENAME_TRAILING_SLASH_BUG]: Use the rename wrapper. 2001-01-14 11:04:47 +00:00
Jim Meyering 98c8115e96 *** empty log message *** 2001-01-14 09:42:01 +00:00
Jim Meyering d6b863b09c (update-po): Merge po-files in temporary files
in the build directory, and update the source directory only when
the merged catalog differs from the original.  This fixes the known
`make distcheck' failure due to `make update-po' being called
on up-to-date but read-only files.
2001-01-14 09:41:53 +00:00
Jim Meyering c730e2d9e8 *** empty log message *** 2001-01-13 15:59:19 +00:00
Jim Meyering 81268e4b67 . 2001-01-13 15:57:48 +00:00
Jim Meyering 896a20a2a9 *** empty log message *** 2001-01-13 15:56:33 +00:00
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