Changeset 34 for trunk/src/sh_prelink.c
- Timestamp:
- May 19, 2006, 8:09:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_prelink.c
r22 r34 40 40 int sh_prelink_set_path (const char * str) 41 41 { 42 size_t len;43 42 SL_ENTER(_("sh_prelink_set_path")); 44 43 if (prelink_path != NULL) … … 49 48 SL_RETURN((-1), _("sh_prelink_set_path")); 50 49 } 51 len = sl_strlen (str); 52 prelink_path = SH_ALLOC(len+1);53 (void) sl_strlcpy(prelink_path, str, len+1); 50 51 prelink_path = sh_util_strdup(str); 52 54 53 SL_RETURN(0, _("sh_prelink_set_path")); 55 54 }
Note:
See TracChangeset
for help on using the changeset viewer.