Shanks0224 opened a new pull request, #22240: URL: https://github.com/apache/nuttx/pull/22240
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary - `%%` skips leading whitespace. - `%p` is correct on 64-bit systems. - Arguments of conversions that did not succeed are no longer cleared: `sscanf("30 ", "%d %d", &a, &b)` leaves `b` unchanged, as C and POSIX require. Split from #22179. ## Impact Code that relied on unmatched scanf arguments being zeroed now sees the old value. No impact on the build system, documentation or hardware. ## Testing Build host: Linux x86_64. - `sim:nsh` builds with no warning. - Integer, floating point, string and char conversions on the simulator give the same results as glibc (`%[` is not supported and was not tested). -- 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]
