From 9261077fc73445347eaabff5bf043ea64bd36322 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 26 Dec 2016 15:14:41 -0600 Subject: [PATCH] Add an error code to represent an invalid xattr stream --- include/wimlib.h | 1 + src/error.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/wimlib.h b/include/wimlib.h index ac55fd2c..54282774 100644 --- a/include/wimlib.h +++ b/include/wimlib.h @@ -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, }; diff --git a/src/error.c b/src/error.c index 26fc10a4..8574aa18 100644 --- a/src/error.c +++ b/src/error.c @@ -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"), -- 2.43.0