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/02/25 22:05:57 UTC

[GitHub] [incubator-nuttx] davids5 commented on pull request #2904: unistd/getcwd: enhance getcwd when buf is NULL

davids5 commented on pull request #2904:
URL: https://github.com/apache/incubator-nuttx/pull/2904#issuecomment-786259137


   > > @patacongo What is you take on this extension?
   > 
   > I don't have any strong opinion, as long as it is fully compatible with the require at the OpenGroup.org reference. We do not want any non-standard behavior in the system.
   
   OG says "If buf is a null pointer, the behavior of getcwd() is unspecified."  Are you still good with this once the malloc is fixed?


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