]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Don't return error if file system is not supported
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 2 Feb 2009 07:59:39 +0000 (02:59 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 2 Feb 2009 07:59:39 +0000 (02:59 -0500)
extended attributes.

SVN-Revision: 533

libarchive/archive_read_disk_entry_from_file.c

index 90bf8b96f88621c7b96f21bc7d2436fa5e0c75fa..311a0e4a17733d81d921469f80fdaef3673aba29 100644 (file)
@@ -456,6 +456,8 @@ setup_xattrs(struct archive_read_disk *a,
        else
                list_size = extattr_list_file(path, namespace, NULL, 0);
 
+       if (list_size == -1 && errno == EOPNOTSUPP)
+               return (ARCHIVE_OK);
        if (list_size == -1) {
                archive_set_error(&a->archive, errno,
                        "Couldn't list extended attributes");