don't set xattrs when --skip-old-files is used

* src/extract.c (set_xattr): Properly handle maybe_recoverable()
output.  Throw warnings to not complicate caller.
(extract_file): Don't handle set_xattr's error.
* tests/xattr07.at: New testcase.
* tests/Makefile.am: Mention new testcase.
* tests/testsuite.at: Likewise.
* THANKS: Dawid.
This commit is contained in:
Pavel Raiskup
2016-11-11 12:30:35 +02:00
committed by Sergey Poznyakoff
parent 21c1c29592
commit 597b0ae509
4 changed files with 29 additions and 15 deletions

View File

@@ -248,6 +248,7 @@ TESTSUITE_AT = \
xattr04.at\
xattr05.at\
xattr06.at\
xattr07.at\
acls01.at\
acls02.at\
acls03.at\

View File

@@ -447,6 +447,7 @@ m4_include([xattr03.at])
m4_include([xattr04.at])
m4_include([xattr05.at])
m4_include([xattr06.at])
m4_include([xattr07.at])
m4_include([acls01.at])
m4_include([acls02.at])