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
curl_mprintf discrepancy with regular printf #12561
Comments
bagder
added a commit
that referenced
this issue
Dec 20, 2023
Verify the #12561 fix and test more printf features
bagder
added a commit
that referenced
this issue
Dec 20, 2023
In a test case using lots of snprintf() calls using many commonly used %-codes per call, this version is around 30% faster than previous version. It also fixes the #12561 bug which made it not behave correcly when given unknown %-sequences. Fixing that flaw required a different take on the problem, which resulted in the new two-arrays model. Fixes #12561
bagder
added a commit
that referenced
this issue
Dec 20, 2023
Verify the #12561 fix and test more printf features
bagder
added a commit
that referenced
this issue
Dec 20, 2023
In a test case using lots of snprintf() calls using many commonly used %-codes per call, this version is around 30% faster than previous version. It also fixes the #12561 bug which made it not behave correcly when given unknown %-sequences. Fixing that flaw required a different take on the problem, which resulted in the new two-arrays model. Fixes #12561
bagder
added a commit
that referenced
this issue
Dec 20, 2023
In a test case using lots of snprintf() calls using many commonly used %-codes per call, this version is around 30% faster than previous version. It also fixes the #12561 bug which made it not behave correctly when given unknown %-sequences. Fixing that flaw required a different take on the problem, which resulted in the new two-arrays model. Fixes #12561 Closes #12563
bagder
added a commit
that referenced
this issue
Dec 20, 2023
Verify the #12561 fix and test more printf features
bagder
added a commit
that referenced
this issue
Dec 21, 2023
In a test case using lots of snprintf() calls using many commonly used %-codes per call, this version is around 30% faster than previous version. It also fixes the #12561 bug which made it not behave correctly when given unknown %-sequences. Fixing that flaw required a different take on the problem, which resulted in the new two-arrays model. lib557: extended - Verify the #12561 fix and test more printf features unit1398: fix test: It used a <num>$ only for one argument, which is not supported. Fixes #12561 Closes #12563
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
When the curl printf functions get told to output something using "illegal" %-codes, it does not behave as expected.
I expected the following
I expected
I got
curl/libcurl version
curl 8.5.0 and git master
operating system
doesn't matter
The text was updated successfully, but these errors were encountered: