Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
python-magic
file-5.14-printf.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File file-5.14-printf.dif of Package python-magic
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:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor