xiaoxiang781216 commented on code in PR #8373: URL: https://github.com/apache/nuttx/pull/8373#discussion_r1092004856
########## fs/vfs/fs_fcntl.c: ########## @@ -71,7 +71,13 @@ static int file_vfcntl(FAR struct file *filep, int cmd, va_list ap) { /* Does not set the errno variable in the event of a failure */ - ret = file_dup(filep, va_arg(ap, int)); + ret = file_dup(filep, va_arg(ap, int), false); + } + break; + + case F_DUPFD_CLOEXEC: + { Review Comment: Done. -- 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