[cvs] SF.net SVN: bogofilter:[6784] trunk/bogofilter/src/score.c
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2009-02-07 10:37:07
|
Revision: 6784 http://bogofilter.svn.sourceforge.net/bogofilter/?rev=6784&view=rev Author: m-a Date: 2009-02-07 10:37:02 +0000 (Sat, 07 Feb 2009) Log Message: ----------- printf %qX -> %llX according to glibc documentation. q is marked "don't use". Modified Paths: -------------- trunk/bogofilter/src/score.c Modified: trunk/bogofilter/src/score.c =================================================================== --- trunk/bogofilter/src/score.c 2009-02-07 01:54:41 UTC (rev 6783) +++ trunk/bogofilter/src/score.c 2009-02-07 10:37:02 UTC (rev 6784) @@ -427,7 +427,7 @@ hashnode_t *hn = pn->node ; dq.d = pn->dev; - printf( "%2d %-16s %8.6f %8.6f %16qX\n", + printf( "%2d %-16s %8.6f %8.6f %16llX\n", ni, hn->key->u.text, pn->prob, pn->dev, dq.q); } } @@ -596,7 +596,7 @@ if (DEBUG_SPAMICITY(1)) { t_DOUBLE_QUAD dq; dq.d = score.min_dev; - fprintf(dbgout, "md: %10.8f 0x%016qX\n", + fprintf(dbgout, "md: %10.8f 0x%016llX\n", score.min_dev, dq.q); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |