pkarashchenko commented on code in PR #8946: URL: https://github.com/apache/nuttx/pull/8946#discussion_r1156067200
########## libs/libc/string/lib_strerror.c: ########## @@ -367,6 +371,11 @@ static const struct errno_strmap_s g_errnomap[] = FAR char *strerror(int errnum) { +#ifdef CONFIG_LIBC_STRERROR_ERRNUM + /* REVISIT: Number may wrong if called by multiple threads at same time. */ Review Comment: Let's remove the comment as POSIX define `strerror_r` to handle this. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org