-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
printf: Error handling with unicode parsing #7681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fbd4e0c to
c8328bc
Compare
|
GNU testsuite comparison: |
c8328bc to
77cb93f
Compare
|
GNU testsuite comparison: |
77cb93f to
3a1c17c
Compare
|
GNU testsuite comparison: |
3a1c17c to
50ceac7
Compare
|
GNU testsuite comparison: |
50ceac7 to
9aefd47
Compare
|
GNU testsuite comparison: |
9aefd47 to
5f281ef
Compare
|
GNU testsuite comparison: |
5f281ef to
fb74df2
Compare
|
GNU testsuite comparison: |
fb74df2 to
92a194c
Compare
|
GNU testsuite comparison: |
92a194c to
8c389b4
Compare
|
GNU testsuite comparison: |
|
Could you please add a test in tests/by-util/test_printf.rs ? thanks |
8c389b4 to
7df2205
Compare
|
GNU testsuite comparison: |
Sure, I've pushed some tests for these changes |
jfinkels
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats! The gnu test tests/printf/printf-cov is no longer failing!
Great!
This PR adds error handling when
\uNNNNor\uNNNNNNis parsed. It also ignores the thousands seperator flag in format strings, which does not do anything for the "C" locale.This PR should allow GNU's printf-cov to pass.