Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:LoongArch:Factory
dcraw
dcraw-glibc-2.38.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dcraw-glibc-2.38.patch of Package dcraw
Index: dcraw/parse.c =================================================================== --- dcraw.orig/parse.c +++ dcraw/parse.c @@ -1213,7 +1213,7 @@ void parse_qt (int level, int end) } } -char *memmem (char *haystack, size_t haystacklen, +static char *my_memmem (char *haystack, size_t haystacklen, char *needle, size_t needlelen) { char *c; @@ -1239,8 +1239,8 @@ void identify() tread (head, 1, 32, ifp); tseek (ifp, 0, SEEK_END); fsize = ftell(ifp); - if ((cp = memmem (head, 32, "MMMM", 4)) || - (cp = memmem (head, 32, "IIII", 4))) { + if ((cp = my_memmem (head, 32, "MMMM", 4)) || + (cp = my_memmem (head, 32, "IIII", 4))) { parse_phase_one (cp-head); if (cp-head) parse_tiff (0,0); } else if (order == 0x4949 || order == 0x4d4d) {
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