Bug in 1.2.15a

Aug 19, 2008 at 12:33 AM
twice in GenerateReplacementString() you use the code:



skip=(int) log10((double)n) + 1;

Please note that the log10(0) is an error.  When N is zero, skip is set to a large number.  This causes a weird things including the IIS thread to die.  I've added one line (twice) to fix this issue



int skip=(int) log10((double)n) + 1;
if(n==0) skip=1;



Please include this fix in future version.



Aug 21, 2008 at 1:41 PM
good catch Fred.
I fixed this in change set 37232.