xiaoxiang781216 commented on code in PR #10969: URL: https://github.com/apache/nuttx/pull/10969#discussion_r1375386457
########## libs/libc/stdio/lib_remove.c: ########## @@ -55,9 +55,9 @@ int remove(FAR const char *path) * more frequently the necessary action. */ - if (unlink(path) != 0 /* If it is indeed a directory... */ - && (errno != EPERM /* ...try to remove it. */ - || rmdir(path) != 0)) + if (unlink(path) != 0 || /* If it is indeed a directory... */ Review Comment: Typo, fixed. -- 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