<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/cp.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-08T17:08:53Z</updated>
<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>* src/copy.c (copy_internal): Don't test whether macros like</title>
<updated>2006-08-28T23:29:38Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-28T23:29:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=25aebae77d29f2984078606f0789a6db36218ea9'/>
<id>urn:sha1:25aebae77d29f2984078606f0789a6db36218ea9</id>
<content type='text'>
S_ISLNK are defined, since they're always defined now.
* src/cp.c (main): Likewise.
* src/ln.c (main): Likewise.
* src/ls.c (get_link_name, make_link_name): Likewise.
* src/mkfifo.c (usage): Likewise.
* src/who.c (S_IWGRP): Likewise.
</content>
</entry>
<entry>
<title>(usage): Correct description of -a: s/-dpR/-dpPR/. From Tomas Pospisek.</title>
<updated>2006-05-15T20:19:02Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-05-15T20:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e06a5a5cc77a462087ca68aea9b538651f502ec5'/>
<id>urn:sha1:e06a5a5cc77a462087ca68aea9b538651f502ec5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(target_directory_operand): Use new last_component.</title>
<updated>2006-03-26T12:05:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-26T12:05:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c3965052fe2d222744f58e7bbd2756a9548c8740'/>
<id>urn:sha1:c3965052fe2d222744f58e7bbd2756a9548c8740</id>
<content type='text'>
(ASSIGN_BASENAME_STRDUPA): Likewise.  Reduce time spent
traversing the string.
</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>Include lchmod.h.</title>
<updated>2006-01-02T06:36:55Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-01-02T06:36:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4aff81e69a0c3ce376e331a088f0839335f8400d'/>
<id>urn:sha1:4aff81e69a0c3ce376e331a088f0839335f8400d</id>
<content type='text'>
(re_protect, make_dir_parents_private): Use lchmod rather than chmod.
</content>
</entry>
<entry>
<title>Don't include &lt;assert.h&gt;; it wasn't used.</title>
<updated>2005-12-28T10:22:41Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-28T10:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=67e065e79d5858e5959578e94e2b161b4b5c24dc'/>
<id>urn:sha1:67e065e79d5858e5959578e94e2b161b4b5c24dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(umask_kill): With default acls, the umask is not to be applied.</title>
<updated>2005-12-17T10:40:10Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-17T10:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fdffb6bb480e23e928a6397732d94efb1103c224'/>
<id>urn:sha1:fdffb6bb480e23e928a6397732d94efb1103c224</id>
<content type='text'>
Remove umask_kill, don't change the process umask, and let the kernel
apply the umask where appropriate.
(make_dir_parents_private): Fix logic for POSIX ACLs.
</content>
</entry>
<entry>
<title>Include stat-time.h, and use its functions instead of the obsolete</title>
<updated>2005-09-16T07:50:33Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-16T07:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=158d982669d3d05079da2b9cc8d8fcd8adf35a4b'/>
<id>urn:sha1:158d982669d3d05079da2b9cc8d8fcd8adf35a4b</id>
<content type='text'>
TIMESPEC_NS macro.
</content>
</entry>
</feed>
