[BACK]Return to diffreg.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / diff

Diff for /src/usr.bin/diff/diffreg.c between version 1.79 and 1.80

version 1.79, 2010/07/16 21:47:02 version 1.80, 2011/04/01 17:25:26
Line 642 
Line 642 
 stone(int *a, int n, int *b, int *c, int flags)  stone(int *a, int n, int *b, int *c, int flags)
 {  {
         int i, k, y, j, l;          int i, k, y, j, l;
         int oldc, tc, oldl;          int oldc, tc, oldl, sq;
         u_int numtries;          u_int numtries, bound;
   
         /* XXX move the isqrt() out of the macro to avoid multiple calls */          if (flags & D_MINIMAL)
         const u_int bound = (flags & D_MINIMAL) ? UINT_MAX :                  bound = UINT_MAX;
             MAX(256, isqrt(n));          else {
                   sq = isqrt(n);
                   bound = MAX(256, sq);
           }
   
         k = 0;          k = 0;
         c[0] = newcand(0, 0, 0);          c[0] = newcand(0, 0, 0);

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80