Changeset 3242 in kBuild
- Timestamp:
- Dec 25, 2018 8:59:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r3189 r3242 2931 2931 root_len = 1; 2932 2932 #endif 2933 #ifdef KMK 2934 memcpy (apath, name, root_len); 2935 apath[root_len] = '\0'; 2936 assert (strlen (apath) == root_len); 2937 #else 2933 2938 strncpy (apath, name, root_len); 2934 2939 apath[root_len] = '\0'; 2940 #endif 2935 2941 dest = apath + root_len; 2936 2942 /* Get past the root, since we already copied it. */
Note:
See TracChangeset
for help on using the changeset viewer.