<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/mv.c, branch v6.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-09-14T10:06:42Z</updated>
<entry>
<title>* src/mv.c (main): Remove unnecessary (always-true) test for 2 &lt;= n.</title>
<updated>2006-09-14T10:06:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-09-14T10:06:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=32d83cf58764a4b1fad847675989c4bc9eacd8c4'/>
<id>urn:sha1:32d83cf58764a4b1fad847675989c4bc9eacd8c4</id>
<content type='text'>
Instead, since it's a little fragile, assert the condition.
(target_directory_operand): Update comment to reflect latest change.
</content>
</entry>
<entry>
<title>mv and "cp -r" no longer fail when invoked with two arguments</title>
<updated>2006-09-08T17:08:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-09-08T17:08:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d7619b5fe899074ef196154b2eec54d51290d450'/>
<id>urn:sha1:d7619b5fe899074ef196154b2eec54d51290d450</id>
<content type='text'>
where the first one names a directory and the second name ends in
a slash and doesn't exist.  E.g., "mv dir B/", for nonexistent B,
now succeeds, once more. This reverts part of the 2004-06-27
change for 5.3.0.
* NEWS: Say the above.
* src/mv.c (target_directory_operand): Don't require (here)
that the target operand "look like" a directory.  This change
pushes the test down to the rename syscall level, where a
"mv dir existing-non-dir/" will mistakenly succeed on older systems
that ignore trailing slashes in the rename destination argument.
* src/cp.c (target_directory_operand): Likewise, but for cp.
* tests/mv/trailing-slash: Exercise the above fixes.
* tests/cp/trailing-slash: New file.
* tests/cp/Makefile.am (EXTRA_DIST): Add trailing-slash.
</content>
</entry>
<entry>
<title>Don't include dirname.h, since system.h does it now.</title>
<updated>2006-09-03T02:53:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-03T02:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d8049d74780e587525622f69219243097a13861b'/>
<id>urn:sha1:d8049d74780e587525622f69219243097a13861b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(target_directory_operand, movefile): Use new last_component, in place of base_name.</title>
<updated>2006-03-26T12:07:34Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-26T12:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=00f103b6d1580042aac603c99647758f1da108ce'/>
<id>urn:sha1:00f103b6d1580042aac603c99647758f1da108ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(usage): Use two spaces (not one) to separate the</title>
<updated>2006-02-06T07:39:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-06T07:39:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c446eceb9c4d85cd32ffce64a37452ad2fbfc4a2'/>
<id>urn:sha1:c446eceb9c4d85cd32ffce64a37452ad2fbfc4a2</id>
<content type='text'>
option string from its description, so help2man formats the
derived man page properly.  Patch from Nicolas François
in http://bugs.debian.org/351601.
</content>
</entry>
<entry>
<title>(cp_option_init): Don't set umask_kill member.</title>
<updated>2005-12-17T10:45:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-17T10:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=eee9e3d07229e5d6b6821ecf097212c599b321a0'/>
<id>urn:sha1:eee9e3d07229e5d6b6821ecf097212c599b321a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(rm_option_init): Don't initialize unlink_dirs member, which went away.</title>
<updated>2005-11-02T21:52:33Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-11-02T21:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ce1d20289c37b14a8ead7d859f26b9e9bee3be71'/>
<id>urn:sha1:ce1d20289c37b14a8ead7d859f26b9e9bee3be71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(main): Using --reply now evokes a warning.</title>
<updated>2005-07-03T16:49:15Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-07-03T16:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5610a8734d4ad3c583480e14525a317575d6d703'/>
<id>urn:sha1:5610a8734d4ad3c583480e14525a317575d6d703</id>
<content type='text'>
(usage): Remove description of --reply.
</content>
</entry>
<entry>
<title>(usage): Clarify how --reply=no works.</title>
<updated>2005-06-24T08:02:36Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-06-24T08:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a345498d97c9cfff36dca47aa8860444eb8eb23c'/>
<id>urn:sha1:a345498d97c9cfff36dca47aa8860444eb8eb23c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Finally remove support for --version-control=S (-V).</title>
<updated>2005-06-16T09:15:23Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-06-16T09:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=74f54dae781a1c30b10452b05500a2a8cac6bd80'/>
<id>urn:sha1:74f54dae781a1c30b10452b05500a2a8cac6bd80</id>
<content type='text'>
It was deprecated nearly 6 years ago and has been warning
users to switch to --backup=S since fileutils-4.0j.
</content>
</entry>
</feed>
