Dirk Mueller
44bc099863
- Refresh patches and remove the visibility patch that I upstreamed few releases ago in a different form. OBS-URL: https://build.opensuse.org/request/show/161841 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=75
32 lines
675 B
Plaintext
32 lines
675 B
Plaintext
Index: src/apprentice.c
|
|
===================================================================
|
|
--- src/apprentice.c.orig
|
|
+++ src/apprentice.c
|
|
@@ -2057,8 +2057,16 @@ check_format_type(const char *ptr, int t
|
|
quad = 1;
|
|
/*FALLTHROUGH*/
|
|
case FILE_FMT_NUM:
|
|
+ if (*ptr == '#')
|
|
+ ptr++;
|
|
+ if (*ptr == ' ')
|
|
+ ptr++;
|
|
if (*ptr == '-')
|
|
ptr++;
|
|
+ if (*ptr == '+')
|
|
+ ptr++;
|
|
+ if (*ptr == '\'')
|
|
+ ptr++;
|
|
if (*ptr == '.')
|
|
ptr++;
|
|
while (isdigit((unsigned char)*ptr)) ptr++;
|
|
@@ -2100,6 +2108,9 @@ check_format_type(const char *ptr, int t
|
|
default:
|
|
return -1;
|
|
}
|
|
+ case 'o':
|
|
+ case 'x':
|
|
+ case 'X':
|
|
case 'd':
|
|
return 0;
|
|
default:
|