summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorOndřej Vašík <ovasik@redhat.com>2009-09-02 10:34:27 +0100
committerPádraig Brady <P@draigBrady.com>2009-09-03 10:00:32 +0100
commit1a94ac4a0524a760c1c3ea7a5ca9032e994785c2 (patch)
tree5967a5342034bc49f5c9db71272944415e2441ba /NEWS
parent1b2d2635eeabce4a2176427dc1de9c1b9b87bc7d (diff)
downloadcoreutils-1a94ac4a0524a760c1c3ea7a5ca9032e994785c2.tar.xz
cp: don't leak resources for each xattr preservation failure
* 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".
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 50c40be4d..59270eb0a 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,9 @@ GNU coreutils NEWS -*- outline -*-
cp --reflink --preserve now preserves attributes when cloning a file.
[bug introduced in coreutils-7.5]
+ cp --preserve=xattr no longer leaks resources on each preservation failure.
+ [bug introduced in coreutils-7.1]
+
dd now returns non-zero status if it encountered a write error while
printing a summary to stderr.
[bug introduced in coreutils-6.11]