xiaoxiang781216 commented on code in PR #12969:
URL: https://github.com/apache/nuttx/pull/12969#discussion_r1724402545


##########
libs/libc/misc/Kconfig:
##########
@@ -112,3 +112,17 @@ config LIBC_MEM_FD_VFS_PATH
        depends on !LIBC_MEMFD_ERROR
        ---help---
                The relative path to where memfd will exist in the tmpfs 
namespace.
+
+config LIBC_MAX_PATHBUFFER
+       int "Maximum size of a temporary file path buffer array"
+       range 0 32
+       default 2

Review Comment:
   actually, we don't need do this optimization manually, the linker is enough 
smart to remove the unused code and data from the final image automatically if 
nobody calls lib_[get|put]_pathbuffer.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to