File file-5.19-printf.dif of Package file.7740

--- src/apprentice.c
+++ src/apprentice.c	2014-06-24 16:33:48.770235732 +0000
@@ -2173,8 +2173,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++;
 		while (isdigit((unsigned char)*ptr)) ptr++;
openSUSE Build Service is sponsored by