diff options
Diffstat (limited to 'misc/bidwatcher/patches/patch-ac')
-rw-r--r-- | misc/bidwatcher/patches/patch-ac | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/bidwatcher/patches/patch-ac b/misc/bidwatcher/patches/patch-ac new file mode 100644 index 00000000000..196bc91be23 --- /dev/null +++ b/misc/bidwatcher/patches/patch-ac @@ -0,0 +1,30 @@ +$NetBSD: patch-ac,v 1.6 2003/03/31 07:57:25 tron Exp $ + +--- helpers.cpp.orig 2002-12-21 09:00:42.000000000 +0100 ++++ helpers.cpp 2003-03-31 09:47:10.000000000 +0200 +@@ -1347,7 +1347,6 @@ + std::istrstream streamBuff(buffer); + #endif + struct tm ebay_time; +- ebay_time.tm_isdst = 0; + while(streamBuff) { + streamBuff.getline(lineBuff, 1024, '\n'); + /* +@@ -1380,9 +1379,6 @@ + if (scratch) strcpy(chMin, scratch); + scratch = strtok(0, " "); + if (scratch) strcpy(chSec, scratch); +- scratch = strtok(0, "<"); +- if (scratch && strcmp( scratch, "PDT" ) == 0 ) +- ebay_time.tm_isdst = 1; + break; + } + } +@@ -1406,6 +1402,7 @@ + else if (strcmp("Nov", chMonth) == 0) ebay_time.tm_mon = 10; + else ebay_time.tm_mon = 11; + ebay_time.tm_year = atoi(chYear) - 1900; ++ ebay_time.tm_isdst = -1; + + time_t theTime = mktime(&ebay_time) - new_time_t; + |