Hello, Yesterday I'noticed that --get_credit_from WU doesn't work with the latest validator code, probably it's broken since the removal of old credit system (can't verify that because TRAC requires permissions to view changes, that's weird because 2 days ago it didn't).
I've done a lot of debugging and traced the problem to inline parse_double() in lib/parse.h. As far as I can see, this function can't parse <credit>x.xxxx</credit> if there is no space, tab, return or other whitespace after the number, y = atof(p+strlen(tag) returns strange values (extremely high numbers) for inputs like "5.14343</credit>" when the p+len points correctly at the beginning of the float. I think that the function could be easily replaced with XML_PARSE::parse_double(), but since I'm not C/C++ programmer I failed to do it. /TJM http://www.enigmaathome.net _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
