- Notifications
You must be signed in to change notification settings - Fork5
Commit206b1e5
committed
Fix our printf implementation to follow spec: if a star parameter
value for a precision is negative, act as though precision weren'tspecified at all, that is the whole .* part of the format spec shouldbe ignored. Our previous coding took it as .0 which is certainlywrong. Per report from Kris Jurka and local testing.Possibly this should be back-patched, but it would be good to getsome more testing first; in any case there are no known cases wherethere's really a problem on the backend side.1 parent9706f54 commit206b1e5
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| |||
565 | 565 |
| |
566 | 566 |
| |
567 | 567 |
| |
| 568 | + | |
568 | 569 |
| |
| 570 | + | |
| 571 | + | |
569 | 572 |
| |
570 | 573 |
| |
571 | 574 |
| |
| |||
590 | 593 |
| |
591 | 594 |
| |
592 | 595 |
| |
| 596 | + | |
593 | 597 |
| |
| 598 | + | |
| 599 | + | |
594 | 600 |
| |
595 | 601 |
| |
596 | 602 |
| |
|
0 commit comments
Comments
(0)