xiaoxiang781216 commented on pull request #2326:
URL: https://github.com/apache/incubator-nuttx/pull/2326#issuecomment-731252590


   > My recommendation is that you do not go in this direction. It is not 
standard and totally inappropriate for used in a standards-based OS.
   > 
   > My recommendation is that you consider using TLS to hold getopt() 
variables. That is transparent to the user, retains that standard getopt() 
function, and does not not introduce new, non-portable OS interfaces. That is 
against the spirit of Nutt.
   
   Ok, I remove getopt_r from patch, since it's a seldom used feature, the 
compatiblity isn't a big problem without it. But, many application use 
getopt_long and TLS can't help here.
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to