You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/01/31 14:18:21 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8373: vfs: Suppoprt F_DUPFD_CLOEXEC

pkarashchenko commented on code in PR #8373:
URL: https://github.com/apache/nuttx/pull/8373#discussion_r1091996301


##########
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:
   ```suggestion
           {
   ```



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org