Re: [PR] libs/libc: Set `errno` when `lib_get_tempbuffer()` fails [nuttx]

2025-01-16 Thread via GitHub
JianyuWang0623 commented on PR #15578: URL: https://github.com/apache/nuttx/pull/15578#issuecomment-2594833556 commit message updated. -- 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

Re: [PR] libs/libc: Set `errno` when `lib_get_tempbuffer()` fails [nuttx]

2025-01-15 Thread via GitHub
JianyuWang0623 commented on code in PR #15578: URL: https://github.com/apache/nuttx/pull/15578#discussion_r1917904996 ## libs/libc/misc/lib_tempbuffer.c: ## @@ -114,6 +114,7 @@ FAR char *lib_get_tempbuffer(size_t nbytes) #ifdef CONFIG_LIBC_TEMPBUFFER_MALLOC return lib_malloc

Re: [PR] libs/libc: Set `errno` when `lib_get_tempbuffer()` fails [nuttx]

2025-01-15 Thread via GitHub
JianyuWang0623 commented on code in PR #15578: URL: https://github.com/apache/nuttx/pull/15578#discussion_r1917900603 ## libs/libc/misc/lib_tempbuffer.c: ## @@ -114,6 +114,7 @@ FAR char *lib_get_tempbuffer(size_t nbytes) #ifdef CONFIG_LIBC_TEMPBUFFER_MALLOC return lib_malloc

Re: [PR] libs/libc: Set `errno` when `lib_get_tempbuffer()` fails [nuttx]

2025-01-15 Thread via GitHub
anchao commented on code in PR #15578: URL: https://github.com/apache/nuttx/pull/15578#discussion_r1917852662 ## libs/libc/misc/lib_tempbuffer.c: ## @@ -114,6 +114,7 @@ FAR char *lib_get_tempbuffer(size_t nbytes) #ifdef CONFIG_LIBC_TEMPBUFFER_MALLOC return lib_malloc(nbytes)

Re: [PR] libs/libc: Set `errno` when `lib_get_tempbuffer()` fails [nuttx]

2025-01-15 Thread via GitHub
yamt commented on code in PR #15578: URL: https://github.com/apache/nuttx/pull/15578#discussion_r1917834189 ## libs/libc/misc/lib_tempbuffer.c: ## @@ -114,6 +114,7 @@ FAR char *lib_get_tempbuffer(size_t nbytes) #ifdef CONFIG_LIBC_TEMPBUFFER_MALLOC return lib_malloc(nbytes);