]> wimlib.net Git - wimlib/commitdiff
Add new error codes for xattr extraction errors
authorEric Biggers <ebiggers3@gmail.com>
Tue, 27 Dec 2016 23:24:55 +0000 (17:24 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 28 Dec 2016 04:30:51 +0000 (22:30 -0600)
include/wimlib.h
src/error.c

index ac55fd2c982f939314b85371994c49d0bb862d8a..226c687741594e898d97f55a51f37d15a549a06e 100644 (file)
@@ -2567,6 +2567,8 @@ enum wimlib_error_code {
        WIMLIB_ERR_DUPLICATE_EXPORTED_IMAGE           = 87,
        WIMLIB_ERR_CONCURRENT_MODIFICATION_DETECTED   = 88,
        WIMLIB_ERR_SNAPSHOT_FAILURE                   = 89,
+       WIMLIB_ERR_INVALID_XATTR                      = 90,
+       WIMLIB_ERR_SET_XATTR                          = 91,
 };
 
 
index 26fc10a4511e395b16b7faec8a6ebb785d888f1f..cccb815f58373483f44c398bc7e4b851e3c4a6a5 100644 (file)
@@ -342,6 +342,10 @@ static const tchar * const error_strings[] = {
                = T("A file being added to a WIM image was concurrently modified"),
        [WIMLIB_ERR_SNAPSHOT_FAILURE]
                = T("Unable to create a filesystem snapshot"),
+       [WIMLIB_ERR_INVALID_XATTR]
+               = T("An extended attribute entry in the WIM image is invalid"),
+       [WIMLIB_ERR_SET_XATTR]
+               = T("Failed to set an extended attribute on an extracted file"),
 #ifdef ENABLE_TEST_SUPPORT
        [WIMLIB_ERR_IMAGES_ARE_DIFFERENT]
                = T("A difference was detected between the two images being compared"),