This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit bb5520b8d6032ff2cd46caca51064183db09f296
Author: zhengyu16 <[email protected]>
AuthorDate: Fri Jan 9 17:27:37 2026 +0800

    system/libarchive: add config which enables error strings
    
    Add a config which enables error strings, and default it to n.
    This saves flash size of about 4K when enabling libarchive.
    
    Signed-off-by: zhengyu16 <[email protected]>
    Signed-off-by: tengshuangshuang <[email protected]>
---
 system/libarchive/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/system/libarchive/Kconfig b/system/libarchive/Kconfig
index 004770360..708b3f7ad 100644
--- a/system/libarchive/Kconfig
+++ b/system/libarchive/Kconfig
@@ -17,6 +17,14 @@ config UTILS_LIBARCHIVE_UNICODE_NORMALIZATION
                This feature is primarily needed for macOS HFS+ filesystem
                compatibility and cross-platform filename comparison.
 
+config UTILS_LIBARCHIVE_ERROR_STRINGS
+       bool "Enable detailed error messages"
+       default n
+       ---help---
+               Enable detailed error messages with formatted strings.
+               When disabled, only error codes will be set without
+               descriptive messages.
+
 config UTILS_LIBARCHIVE_BSDUNZIP
        bool "Enable bsdunzip"
        depends on LIB_ZLIB

Reply via email to