You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/01/02 16:07:14 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on pull request #2638: fs: fs_dupfd2 should return OK if fd1 equals fd2

xiaoxiang781216 edited a comment on pull request #2638:
URL: https://github.com/apache/incubator-nuttx/pull/2638#issuecomment-753491011


   > Shouldn't return fd2?
   > What spec are you looking at?
   
   You are right dup2 should return fd2 in the successful path, but the implementation is wrong to return file_dup2 directly. Please review the update again, thanks.
   


----------------------------------------------------------------
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.

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