Diff
Not logged in

Differences From Artifact [186af88328]:

To Artifact [bb7a7e1bb9]:


315
316
317
318
319
320
321
322

323
324
325
326
327
328
329
330
315
316
317
318
319
320
321

322

323
324
325
326
327
328
329







-
+
-







    return zDelta - zOrigDelta;
  }

  /* Compute the hash table used to locate matching sections in the
  ** source file.
  */
  nHash = lenSrc/NHASH;
  collide = malloc( nHash*2*sizeof(int) );
  collide = fossil_malloc( nHash*2*sizeof(int) );
  if( collide==0 ) return -1;
  landmark = &collide[nHash];
  memset(landmark, -1, nHash*sizeof(int));
  memset(collide, -1, nHash*sizeof(int));
  for(i=0; i<lenSrc-NHASH; i+=NHASH){
    int hv;
    hash_init(&h, &zSrc[i]);
    hv = hash_32bit(&h) % nHash;