Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
security:OpenTC
w3c-libwww
w3c-libwww-compile-fixes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File w3c-libwww-compile-fixes of Package w3c-libwww
--- w3c-libwww-5.4.0/Library/Examples/rdf_parse_buffer.c.orig 2000-08-30 14:59:16.000000000 +0200 +++ w3c-libwww-5.4.0/Library/Examples/rdf_parse_buffer.c 2009-04-28 15:53:28.000000000 +0200 @@ -101,6 +101,7 @@ PRIVATE char * parse_buffer(const char * /* Cleanup */ (void) fclose (fp); + return "OK"; } /* --- w3c-libwww-5.4.0/Library/src/HTWWWStr.c.orig 2000-01-06 11:48:50.000000000 +0100 +++ w3c-libwww-5.4.0/Library/src/HTWWWStr.c 2009-04-28 15:59:37.000000000 +0200 @@ -426,10 +426,13 @@ PUBLIC time_t HTParseTime (const char * } tm.tm_mday = strtol(s, &s, 10); tm.tm_mon = make_month(s, &s); - tm.tm_year = strtol(++s, &s, 10); + s++; + tm.tm_year = strtol(s, &s, 10); tm.tm_hour = strtol(s, &s, 10); - tm.tm_min = strtol(++s, &s, 10); - tm.tm_sec = strtol(++s, &s, 10); + s++; + tm.tm_min = strtol(s, &s, 10); + s++; + tm.tm_sec = strtol(s, &s, 10); } else { /* Second format */ HTTRACE(CORE_TRACE, "Format...... Wkd, 00 Mon 0000 00:00:00 GMT\n"); @@ -441,8 +444,10 @@ PUBLIC time_t HTParseTime (const char * tm.tm_mon = make_month(s, &s); tm.tm_year = strtol(s, &s, 10) - 1900; tm.tm_hour = strtol(s, &s, 10); - tm.tm_min = strtol(++s, &s, 10); - tm.tm_sec = strtol(++s, &s, 10); + s++; + tm.tm_min = strtol(s, &s, 10); + s++; + tm.tm_sec = strtol(s, &s, 10); } } else if (isdigit((int) *str)) { @@ -455,11 +460,16 @@ PUBLIC time_t HTParseTime (const char * return 0; } tm.tm_year = strtol(s, &s, 10) - 1900; - tm.tm_mon = strtol(++s, &s, 10); - tm.tm_mday = strtol(++s, &s, 10); - tm.tm_hour = strtol(++s, &s, 10); - tm.tm_min = strtol(++s, &s, 10); - tm.tm_sec = strtol(++s, &s, 10); + s++; + tm.tm_mon = strtol(s, &s, 10); + s++; + tm.tm_mday = strtol(s, &s, 10); + s++; + tm.tm_hour = strtol(s, &s, 10); + s++; + tm.tm_min = strtol(s, &s, 10); + s++; + tm.tm_sec = strtol(s, &s, 10); } else { /* delta seconds */ t = expand ? time(NULL) + atol(str) : atol(str); @@ -499,8 +509,10 @@ PUBLIC time_t HTParseTime (const char * tm.tm_mon = make_month(s, &s); tm.tm_mday = strtol(s, &s, 10); tm.tm_hour = strtol(s, &s, 10); - tm.tm_min = strtol(++s, &s, 10); - tm.tm_sec = strtol(++s, &s, 10); + s++; + tm.tm_min = strtol(s, &s, 10); + s++; + tm.tm_sec = strtol(s, &s, 10); tm.tm_year = strtol(s, &s, 10) - 1900; } if (tm.tm_sec < 0 || tm.tm_sec > 59 ||
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