diff -u ./ChangeLog ../c/cvs/bidwatcher/ChangeLog --- ./ChangeLog Mon Sep 9 09:24:47 2002 +++ ../c/cvs/bidwatcher/ChangeLog Wed Sep 11 00:23:41 2002 @@ -1,5 +1,10 @@ Changes to bidwatcher -------------------- +09/10/02 + * Version 1.3.5 + * Fixed segfaults due to poor font handling + * Fixed situation where we may try to use the statusbar too early. + 09/08/02 * Applied a fix to make dutch auction bids work. * Klaus Singvogel - font patch to try to support diff -u ./bidwatcher.cpp ../c/cvs/bidwatcher/bidwatcher.cpp --- ./bidwatcher.cpp Tue Sep 10 15:11:17 2002 +++ ../c/cvs/bidwatcher/bidwatcher.cpp Wed Sep 11 00:23:44 2002 @@ -4084,7 +4084,7 @@ strcat(truncDesc, "\n-----------------------------------------------------\n"); reportOut << truncDesc; reportOut.close(); - ClearSnipe(index); + //ClearSnipe(index); g_free(fnstring); } } diff -u ./helpers.cpp ../c/cvs/bidwatcher/helpers.cpp --- ./helpers.cpp Mon Sep 9 09:24:48 2002 +++ ../c/cvs/bidwatcher/helpers.cpp Wed Sep 11 00:41:17 2002 @@ -666,11 +666,16 @@ int ReturnBidVarNum(char *LineData, int auc_type) { int idx=0; + int ops_type; - // Watch the change, it's strNcmp now. + // Whoops, ebay motors !car is the same as regular + if (auc_type == TYPE_EBAYMOTORS) ops_type = 0; + else ops_type = auc_type; - for(idx=0;SearchOps[auc_type][idx][0]!='*';++idx) - if (strncmp(LineData,SearchOps[auc_type][idx], strlen(SearchOps[auc_type][idx]))==0) { + // Watch the change, it's strNcmp now. + for(idx=0; SearchOps[ops_type][idx][0]!='*';++idx) + if (strncmp(LineData, SearchOps[ops_type][idx], + strlen(SearchOps[ops_type][idx]))==0) { return (idx+1); } diff -u ./netstuff.cpp ../c/cvs/bidwatcher/netstuff.cpp --- ./netstuff.cpp Fri Sep 6 10:19:41 2002 +++ ../c/cvs/bidwatcher/netstuff.cpp Wed Sep 11 00:51:52 2002 @@ -260,7 +260,7 @@ struct hostent * hostinfo; hostinfo=url->hostinfo; - if (hostinfo==NULL) { + if (hostinfo==NULL || (hostinfo->h_addr==NULL)) { // DNS error g_free(time_since_start); return NET_NETERROR;