From: Jim Meyering Date: Fri, 30 Apr 1999 16:03:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: SH-UTILS-1_16h~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60695039c044f17002ce0f6b07ff6b00bd122a59;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 0fd01bdf10..ccdecab1c5 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,21 @@ +1999-04-30 Jim Meyering + + * src/copy.c (copy_internal): Move the one-file-system test so that + it follows the `if (new_dst || !S_ISDIR (dst_sb.st_mode))' block. + Prior to this change, `cp --one-file-system' would traverse a file- + system boundary if the destination directory existed. + From thospel@mail.dma.be. + +1999-04-26 Jim Meyering + + * tests/mv/into-self-2: Update to reflect this change by reversing + the order of arguments so the symlink is the source, not the + destination (otherwise, the mv command would now succeed). + + * src/copy.c (copy_internal): Don't make `mv foo symlink-to-foo' fail. + That is, even though source and destination are `the same,' don't fail + if the destination is a symlink. From Peter Samuelson. + 1999-04-26 Paul Eggert * src/dd.c (main): If you can't open an output file (with