Changeset 101 for trunk/src


Ignore:
Timestamp:
Apr 24, 2007, 10:57:49 AM (18 years ago)
Author:
rainer
Message:

Fix compile bug with --with-kcheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_prelink.c

    r34 r101  
    7575  long status;
    7676  char magic[4];
     77
     78  /* 42 bytes is about the minimum an ELF binary might have
     79   * (with plenty of hacks to reduce the size, such as interleaving
     80   * the code with the header...)
     81   */
    7782  if (size < 42)
    7883    return S_FALSE;
     84
    7985  status = sl_read_timeout (fd, magic, 4, alert_timeout);
    8086  (void) sl_rewind(fd);
Note: See TracChangeset for help on using the changeset viewer.