|
| From: | Pádraig Brady |
| Subject: | Re: [PATCH] cp, mv: print the destination file name when setting xattrs fails |
| Date: | Wed, 28 Oct 2026 11:34:21 +0000 |
| User-agent: | Mozilla Thunderbird Beta |
On 28/10/2026 06:30, Collin Funk wrote:
* src/copy.c (copy_attr_quote): Return a xstrdup'd copy of the result of quoteaf, so that slot 0 of quotearg can be overwritten by a subsequent call without overwriting the previously quoted string. (copy_attr_free): Free the string. Remove MAYBE_UNUSED from the string. * tests/cp/xattr.sh: Add a getlimits_ and uses_strace_ invocation. (block_setxattr): New function. Use it to check the error/warning message when setting extended attributes on the destination fails. * NEWS: Mention the bug fix.
+1 thanks, Padraig
| [Prev in Thread] | Current Thread | [Next in Thread] |