Initialize for file
This commit is contained in:
commit
9e73005be0
35 changed files with 2647 additions and 0 deletions
19
file-5.19-printf.dif
Normal file
19
file-5.19-printf.dif
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
src/apprentice.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
--- src/apprentice.c
|
||||
+++ src/apprentice.c 2017-09-13 10:30:42.203386956 +0000
|
||||
@@ -2400,6 +2400,12 @@ check_format_type(const char *ptr, int t
|
||||
ptr++;
|
||||
if (*ptr == '#')
|
||||
ptr++;
|
||||
+ if (*ptr == ' ')
|
||||
+ ptr++;
|
||||
+ if (*ptr == '+')
|
||||
+ ptr++;
|
||||
+ if (*ptr == '\'')
|
||||
+ ptr++;
|
||||
#define CHECKLEN() do { \
|
||||
for (len = cnt = 0; isdigit((unsigned char)*ptr); ptr++, cnt++) \
|
||||
len = len * 10 + (*ptr - '0'); \
|
Loading…
Add table
Add a link
Reference in a new issue