Changeset 151 for trunk/src/sh_prelink.c


Ignore:
Timestamp:
Jan 9, 2008, 10:49:15 PM (17 years ago)
Author:
katerina
Message:

Checksum functions modified to return length of file hashed. Fixes ticket #85 (GrowingLogfiles bug).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_prelink.c

    r133 r151  
    261261  {
    262262    char hashbuf[KEYBUF_SIZE];
     263    UINT64 length_nolim = TIGER_NOLIM;
    263264    sl_strlcpy(file_hash,
    264                sh_tiger_generic_hash (path, task.pipeTI, TIGER_NOLIM, alert_timeout,
     265               sh_tiger_generic_hash (path, task.pipeTI, &length_nolim, alert_timeout,
    265266                                      hashbuf, sizeof(hashbuf)),
    266267               KEY_LEN+1);
Note: See TracChangeset for help on using the changeset viewer.