Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
python-magic
file-4.18-printf.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File file-4.18-printf.dif of Package python-magic
--- src/apprentice.c +++ src/apprentice.c 2006-11-22 16:09:57.000000000 +0000 @@ -886,8 +886,16 @@ 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++; @@ -907,6 +915,7 @@ case 'i': case 'd': case 'u': + case 'o': case 'x': case 'X': return 0; @@ -921,12 +930,16 @@ case 'i': case 'd': case 'u': + case 'o': case 'x': case 'X': return 0; default: return -1; } + case 'o': + case 'x': + case 'X': case 'd': return 0; default: @@ -937,6 +950,7 @@ case 'c': case 'd': case 'u': + case 'o': case 'x': case 'X': return 0;
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