Changeset ff381a7 in mainline for uspace/lib/c/generic/loader.c
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loader.c
r3feeab2 rff381a7 69 69 70 70 async_sess_t *sess = 71 service_connect_blocking( EXCHANGE_SERIALIZE, SERVICE_LOAD, 0, 0);71 service_connect_blocking(SERVICE_LOADER, INTERFACE_LOADER, 0); 72 72 if (sess == NULL) { 73 73 free(ldr); … … 124 124 return ENOMEM; 125 125 126 if ( !getcwd(cwd, MAX_PATH_LEN + 1))126 if (getcwd(cwd, MAX_PATH_LEN + 1) == NULL) 127 127 str_cpy(cwd, MAX_PATH_LEN + 1, "/"); 128 128 … … 162 162 { 163 163 size_t pa_len; 164 char *pa = absolutize(path, &pa_len);164 char *pa = vfs_absolutize(path, &pa_len); 165 165 if (!pa) 166 166 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.