2016-04-18 13:32:24 +00:00
|
|
|
---
|
2017-05-24 11:14:26 +00:00
|
|
|
src/apprentice.c | 6 ++++++
|
|
|
|
1 file changed, 6 insertions(+)
|
2016-04-18 13:32:24 +00:00
|
|
|
|
2014-06-25 09:07:53 +00:00
|
|
|
--- src/apprentice.c
|
2018-06-12 15:26:41 +00:00
|
|
|
+++ src/apprentice.c 2018-06-12 14:15:19.109042630 +0000
|
|
|
|
@@ -2411,6 +2411,12 @@ check_format_type(const char *ptr, int t
|
2017-05-24 11:14:26 +00:00
|
|
|
ptr++;
|
|
|
|
if (*ptr == '#')
|
|
|
|
ptr++;
|
2014-06-25 09:07:53 +00:00
|
|
|
+ if (*ptr == ' ')
|
|
|
|
+ ptr++;
|
|
|
|
+ if (*ptr == '+')
|
|
|
|
+ ptr++;
|
|
|
|
+ if (*ptr == '\'')
|
|
|
|
+ ptr++;
|
2016-04-18 13:32:24 +00:00
|
|
|
#define CHECKLEN() do { \
|
2017-05-24 11:14:26 +00:00
|
|
|
for (len = cnt = 0; isdigit((unsigned char)*ptr); ptr++, cnt++) \
|
|
|
|
len = len * 10 + (*ptr - '0'); \
|