SHA256
1
0
forked from pool/file
file/file-5.19-printf.dif
2016-04-18 13:32:24 +00:00

24 lines
455 B
Plaintext

---
src/apprentice.c | 8 ++++++++
1 file changed, 8 insertions(+)
--- src/apprentice.c
+++ src/apprentice.c 2016-04-18 11:33:37.966264194 +0000
@@ -2350,8 +2350,16 @@ check_format_type(const char *ptr, int t
}
} else
h = 0;
+ if (*ptr == '#')
+ ptr++;
+ if (*ptr == ' ')
+ ptr++;
if (*ptr == '-')
ptr++;
+ if (*ptr == '+')
+ ptr++;
+ if (*ptr == '\'')
+ ptr++;
if (*ptr == '.')
ptr++;
#define CHECKLEN() do { \