another fix of tar-1.15.1-xattrs.patch from James Antill

This commit is contained in:
Peter Vrabec 2006-10-09 10:11:12 +00:00
parent 2bb473d750
commit 6fb2349631
2 changed files with 5 additions and 2 deletions

View File

@ -1998,7 +1998,7 @@
+ goto next_attr; /* only store normal xattrs */ + goto next_attr; /* only store normal xattrs */
+ +
+ while (((fd == -1) ? + while (((fd == -1) ?
+ ((xret = getxattr (file_name, attr, val, asz)) == -1) : + ((aret = getxattr (file_name, attr, val, asz)) == -1) :
+ ((aret = fgetxattr (fd, attr, val, asz)) == -1)) && + ((aret = fgetxattr (fd, attr, val, asz)) == -1)) &&
+ (errno == ERANGE)) + (errno == ERANGE))
+ { + {

View File

@ -2,7 +2,7 @@ Summary: A GNU file archiving program.
Name: tar Name: tar
Epoch: 2 Epoch: 2
Version: 1.15.1 Version: 1.15.1
Release: 19 Release: 20
License: GPL License: GPL
Group: Applications/Archiving Group: Applications/Archiving
URL: http://www.gnu.org/software/tar/ URL: http://www.gnu.org/software/tar/
@ -113,6 +113,9 @@ fi
%{_infodir}/tar.info* %{_infodir}/tar.info*
%changelog %changelog
* Mon Oct 09 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-20
- another fix of tar-1.15.1-xattrs.patch from James Antill
* Wed Oct 04 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-19 * Wed Oct 04 2006 Peter Vrabec <pvrabec@redhat.com> 2:1.15.1-19
- another fix of tar-1.15.1-xattrs.patch from James Antill - another fix of tar-1.15.1-xattrs.patch from James Antill