Changeset 22 for trunk/src/sh_prelink.c
- Timestamp:
- Feb 23, 2006, 12:03:58 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_prelink.c
r8 r22 38 38 static char * prelink_hash = NULL; 39 39 40 int sh_prelink_set_path (c har * str)40 int sh_prelink_set_path (const char * str) 41 41 { 42 42 size_t len; … … 55 55 } 56 56 57 int sh_prelink_set_hash (c har * str)57 int sh_prelink_set_hash (const char * str) 58 58 { 59 59 size_t len; … … 245 245 sl_read_timeout_prep (task.pipeTI); 246 246 247 strcpy(file_hash, /* known to fit */ 248 sh_tiger_generic_hash (path, TIGER_FD, 0, alert_timeout)); 247 sl_strlcpy(file_hash, 248 sh_tiger_generic_hash (path, TIGER_FD, 0, alert_timeout), 249 KEY_LEN+1); 249 250 250 251 /* restore old signal handler
Note:
See TracChangeset
for help on using the changeset viewer.