Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
python-magic.16612
file-5.22-strings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File file-5.22-strings.patch of Package python-magic.16612
--- src/file.h | 4 ++-- src/softmagic.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- src/file.h +++ src/file.h 2017-03-17 13:26:02.616433749 +0000 @@ -132,11 +132,11 @@ or directory */ #define MAXDESC 64 /* max len of text description/MIME type */ #define MAXMIME 80 /* max len of text MIME type */ -#define MAXstring 64 /* max len of "string" types */ +#define MAXstring 96 /* max len of "string" types */ #define MAGICNO 0xF11E041C #define VERSIONNO 12 -#define FILE_MAGICSIZE 248 +#define FILE_MAGICSIZE 280 #define FILE_LOAD 0 #define FILE_CHECK 1 --- src/softmagic.c +++ src/softmagic.c 2017-02-07 23:27:32.000000000 +0000 @@ -518,7 +518,7 @@ mprint(struct magic_set *ms, struct magi t = ms->offset + strlen(str); if (*m->value.s == '\0') - str[strcspn(str, "\n")] = '\0'; + str[strcspn(str, "\r\n")] = '\0'; if (m->str_flags & STRING_TRIM) { char *last;
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