From: Eric Biggers Date: Tue, 27 Dec 2016 23:24:55 +0000 (-0600) Subject: Add new error codes for xattr extraction errors X-Git-Tag: v1.11.0~30 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=ef63b7aadd80805c64b2124e06d14679f05471a2 Add new error codes for xattr extraction errors --- diff --git a/include/wimlib.h b/include/wimlib.h index ac55fd2c..226c6877 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -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, }; diff --git a/src/error.c b/src/error.c index 26fc10a4..cccb815f 100644 --- a/src/error.c +++ b/src/error.c @@ -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"),