1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00
Jay Satiro 68701e51c1 mprintf: Fix processing of width and prec args
Prior to this change a width arg could be erroneously output, and also
width and precision args could not be used together without crashing.

"%0*d%s", 2, 9, "foo"

Before: "092"
After: "09foo"

"%*.*s", 5, 2, "foo"

Before: crash
After: "   fo"

Test 557 is updated to verify this and more
2016-05-13 00:06:50 +02:00
..
2015-08-18 01:03:05 -04:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00
2016-04-24 12:27:39 +02:00
2016-04-20 10:02:22 +02:00
2012-06-05 20:20:40 +02:00
2010-02-16 13:32:45 +00:00
2010-02-16 13:32:45 +00:00
2010-02-16 13:32:45 +00:00
2010-02-16 13:32:45 +00:00