pkarashchenko commented on code in PR #6357: URL: https://github.com/apache/incubator-nuttx/pull/6357#discussion_r889723816
########## libs/libc/stdio/lib_fopen.c: ########## @@ -209,42 +206,39 @@ int lib_mode2oflags(FAR const char *mode) { /* Retain any binary and exclusive mode selections */ - oflags &= (O_BINARY | O_EXCL); + oflags &= FLAG_KEEP; Review Comment: Also I think that current O_BINARY non-zero is done exactly to have a straightforward translation from stdio API. But mapping O_BINARY seems to give more advantages -- 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