<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/copy.c, branch v8.4</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.4</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-01-01T13:06:47Z</updated>
<entry>
<title>maint: update all FSF copyright year lists to include 2010</title>
<updated>2010-01-01T13:06:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-01-01T09:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1aa17dc89b3f313697661541adca0aa0defbdc09'/>
<id>urn:sha1:1aa17dc89b3f313697661541adca0aa0defbdc09</id>
<content type='text'>
Use this command:
git ls-files | grep -v COPYING \
  | xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \
      build-aux/update-copyright
</content>
</entry>
<entry>
<title>copy: allow symlink timestamp preservation on more systems</title>
<updated>2009-10-10T21:16:52Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-10-08T21:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7280a913a12ebfe33e8cad1b217b84944bbd3681'/>
<id>urn:sha1:7280a913a12ebfe33e8cad1b217b84944bbd3681</id>
<content type='text'>
* src/copy.c (utimens_symlink): Simplify by using lutimens.
* m4/jm-macros.m4 (coreutils_MACROS): Drop utimensat; gnulib does
this for us.
* tests/cp/preserve-slink-time: Recognize lutimes support.
</content>
</entry>
<entry>
<title>cp, mv: use linkat to guarantee semantics</title>
<updated>2009-09-25T13:03:36Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-09-24T23:11:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ca9e212cf804775f3f460e8b42a4cdb2c74f8ee4'/>
<id>urn:sha1:ca9e212cf804775f3f460e8b42a4cdb2c74f8ee4</id>
<content type='text'>
* src/copy.c (copy_internal): Use linkat, not link.
</content>
</entry>
<entry>
<title>maint: Use logical rather than bitwise operators on bools</title>
<updated>2009-09-23T13:33:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-09-23T09:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a037e838e15c9a698f1634398e0fe2726398d575'/>
<id>urn:sha1:a037e838e15c9a698f1634398e0fe2726398d575</id>
<content type='text'>
This is because bitwise operators are:
- confusing and inconsistent in a boolean context
- non short circuiting
- brittle in C89 where bool can be an int (so &gt; 1)
</content>
</entry>
<entry>
<title>build: avoid compiler warnings on cygwin 1.5</title>
<updated>2009-09-22T02:42:16Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-09-21T16:28:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=32f987af1274d3ed53244564ab537dce8e330e0a'/>
<id>urn:sha1:32f987af1274d3ed53244564ab537dce8e330e0a</id>
<content type='text'>
* src/copy.c (utimens_symlink): Avoid unused variables.
* src/su.c (getusershell): Rely on gnulib for prototype.
</content>
</entry>
<entry>
<title>cp: fix a probably redundant chmod when setting xattrs</title>
<updated>2009-09-15T09:51:13Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2009-09-15T09:41:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fe6f4e305c4ae24c542c460b8abddea648c7e8d1'/>
<id>urn:sha1:fe6f4e305c4ae24c542c460b8abddea648c7e8d1</id>
<content type='text'>
* src/copy.c (copy_reg): Fix initial value of access_changed variable.
This was introduced by Pádraig Brady in commit cca83faf, 2009-09-14,
"cp,mv: preserve extended attributes even for read-only files"
</content>
</entry>
<entry>
<title>cp,mv: preserve extended attributes even for read-only files</title>
<updated>2009-09-14T13:19:03Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2009-09-14T13:12:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cca83fafa69eb26db458714830b77498b88af8a4'/>
<id>urn:sha1:cca83fafa69eb26db458714830b77498b88af8a4</id>
<content type='text'>
* src/copy.c (copy_reg): Temporarily set u+rw on the destination file
to allow GNU/Linux to set xattrs.
* tests/misc/xattr: Test that change.
* NEWS (Bug fixes): Mention it.
Reported by Ernest N. Mamikonyan.
</content>
</entry>
<entry>
<title>maint: remove some tab indentation from copy.c</title>
<updated>2009-09-05T16:22:09Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-09-05T16:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a5e224d7931dced1acb37befb0d895fb85e30108'/>
<id>urn:sha1:a5e224d7931dced1acb37befb0d895fb85e30108</id>
<content type='text'>
* src/copy.c (copy_internal): Remove tabs erroneously added
in commit 3346c0af.
</content>
</entry>
<entry>
<title>mv, cp: tweak LINK_FOLLOWS_SYMLINKS logic</title>
<updated>2009-09-04T20:54:52Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-09-04T18:40:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3346c0afbc5fcf68322dccd69fb291854c269935'/>
<id>urn:sha1:3346c0afbc5fcf68322dccd69fb291854c269935</id>
<content type='text'>
* gnulib: Update to latest gnulib.
* src/copy.c (copy_internal): Adjust comment in light of POSIX
2008, and deal with macro now being tri-state.
</content>
</entry>
<entry>
<title>cp: don't leak resources for each xattr preservation failure</title>
<updated>2009-09-03T09:00:32Z</updated>
<author>
<name>Ondřej Vašík</name>
<email>ovasik@redhat.com</email>
</author>
<published>2009-09-02T09:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1a94ac4a0524a760c1c3ea7a5ca9032e994785c2'/>
<id>urn:sha1:1a94ac4a0524a760c1c3ea7a5ca9032e994785c2</id>
<content type='text'>
* src/copy.c (copy_reg): Don't return from the function after an
unsuccessful and required preservation of extended attributes.
This resulted in leaking the copy buffer and file descriptors.
* NEWS (Bug fixes): Mention the fix.
The bug was introduced in coreutils-7.1 via commit 0889381c, 2009-01-23,
"cp/mv: add xattr support".
</content>
</entry>
</feed>
