patacongo opened a new pull request #3170: URL: https://github.com/apache/incubator-nuttx/pull/3170
## Summary getopt() in the FLAT build environment is not safe. This is because global variables that are process-specific in Unis are truly global in the FLAT build. Moving the getopt() variables into TLS resolves this issue. ## Impact No side-effects are expected other than to getopt() ## Testing Tested with sim:nsh -- 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: [email protected]
