pkarashchenko commented on issue #6710:
URL: https://github.com/apache/nuttx/issues/6710#issuecomment-1708283296

   @Donny9 It's a bit find out from a description what is the issue from POSIX 
perspective, but finally I think I managed to understand what you are talking 
about. It is https://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html
   ```
   The dup2() function shall cause the file descriptor fildes2 to refer to the 
same open file description as the file descriptor
   fildes and to share any locks, and shall return fildes2.
   ```
   Is that correct? If yes, then it depends on the interpretation if `refer to 
the same open file description` is equivalent to `does not distinguish between 
oldd and newd in any way`.
   
   If I still didn't understood the issue correctly then please explain it in 
more clear manner like:
   - state the POSIX description lines
   - state FreeBSD description lines (that I think is already done)
   - show how current NuttX implementation violates POSIX


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to