Changeset 2809 in kBuild
- Timestamp:
- Feb 5, 2016 9:13:42 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.c
r2784 r2809 182 182 183 183 /** 184 * Clones a string vector like envi orn or argv.184 * Clones a string vector like environ or argv. 185 185 * 186 186 * @returns 0 on success, -1 and errno on failure. … … 200 200 201 201 /* alloc clone array. */ 202 *dstp = dst = sh_malloc(psh, sizeof(*dst) * items + 1);202 *dstp = dst = sh_malloc(psh, sizeof(*dst) * (items + 1)); 203 203 if (!dst) 204 204 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.