]> wimlib.net Git - wimlib/commitdiff
Add an error code to represent an invalid xattr stream
authorEric Biggers <ebiggers3@gmail.com>
Mon, 26 Dec 2016 21:14:41 +0000 (15:14 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 27 Dec 2016 03:15:13 +0000 (21:15 -0600)
include/wimlib.h
src/error.c

index ac55fd2c982f939314b85371994c49d0bb862d8a..542827745d0c8ed81184577d295ffa2b05c5a3a7 100644 (file)
@@ -2567,6 +2567,7 @@ enum wimlib_error_code {
        WIMLIB_ERR_DUPLICATE_EXPORTED_IMAGE           = 87,
        WIMLIB_ERR_CONCURRENT_MODIFICATION_DETECTED   = 88,
        WIMLIB_ERR_SNAPSHOT_FAILURE                   = 89,
+       WIMLIB_ERR_INVALID_EXTENDED_ATTRIBUTE         = 90,
 };
 
 
index 26fc10a4511e395b16b7faec8a6ebb785d888f1f..8574aa18e71339fa4f54116b3057b0b929426a3a 100644 (file)
@@ -342,6 +342,8 @@ 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_EXTENDED_ATTRIBUTE]
+               = T("An extended attribute stream in the WIM is invalid"),
 #ifdef ENABLE_TEST_SUPPORT
        [WIMLIB_ERR_IMAGES_ARE_DIFFERENT]
                = T("A difference was detected between the two images being compared"),