Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:kssingvo
bidwatcher
bidwatcher-1.3.17-changes_20060328.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.17-changes_20060328.patch of Package bidwatcher
--- bidwatcher-1.3.17/helpers.cpp.orig 2006-03-30 12:43:45.000000000 +0200 +++ bidwatcher-1.3.17/helpers.cpp 2006-03-30 12:45:21.000000000 +0200 @@ -1455,10 +1455,13 @@ // has 2 possibilities of string: // 1. "End time:10 hours 7 mins" // " (Mar-08-06 12:52:47 PST)" - // 2. "End time: Mar-08-06 12:52:47 PST" + // 2. "End time:Mar-08-06 12:52:47 PST" // "2 days 10 hours 7 mins" if (!Ends[0]) { - if (strstr(LineBuffer.buf(), " PST ")) { + char *ptr = strchr(LineBuffer.buf(), '-'); + long len = ptr - LineBuffer.buf(); + DPRINTF(DLOW, ("Ends: ptr=%ld, >%s<\n", ptr, LineBuffer.buf())); + if (ptr!=NULL && len<18) { // "End time:Apr-02-06 12:24:20 PDT (3 days 9 hours)" STRNZCPY(Ends, LineBuffer.buf() + strlen("End time:")); } else { streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n');
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