Changeset a6fc88a in mainline for uspace/app
- Timestamp:
- 2017-04-03T21:15:17Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fe46a0
- Parents:
- ea4a3f0
- Location:
- uspace/app
- Files:
-
- 6 edited
-
bdsh/cmds/modules/cp/cp.c (modified) (2 diffs)
-
bdsh/cmds/modules/mkdir/mkdir.c (modified) (3 diffs)
-
sysinst/futil.c (modified) (1 diff)
-
sysinst/sysinst.c (modified) (2 diffs)
-
tester/vfs/vfs1.c (modified) (1 diff)
-
untar/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cp/cp.c
rea4a3f0 ra6fc88a 294 294 merge_paths(dest_path, PATH_MAX, src_dirname); 295 295 296 if (vfs_link_path(dest_path, KIND_DIRECTORY) != EOK) { 296 if (vfs_link_path(dest_path, KIND_DIRECTORY, 297 NULL) != EOK) { 297 298 printf("Unable to create " 298 299 "dest directory %s\n", dest_path); … … 308 309 * e.g. cp -r /src /data/new_dir_src 309 310 */ 310 if (vfs_link_path(dest_path, KIND_DIRECTORY) != EOK) { 311 if (vfs_link_path(dest_path, KIND_DIRECTORY, 312 NULL) != EOK) { 311 313 printf("Unable to create " 312 314 "dest directory %s\n", dest_path); -
uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
rea4a3f0 ra6fc88a 96 96 97 97 if (!create_parents) { 98 ret = vfs_link_path(path, KIND_DIRECTORY );98 ret = vfs_link_path(path, KIND_DIRECTORY, NULL); 99 99 if (ret != EOK) { 100 100 cli_error(CL_EFAIL, "%s: could not create %s (%s)", … … 135 135 path[prev_off] = 0; 136 136 137 ret = vfs_link_path(path, KIND_DIRECTORY );137 ret = vfs_link_path(path, KIND_DIRECTORY, NULL); 138 138 if (ret != EOK && ret != EEXIST) { 139 139 cli_error(CL_EFAIL, "%s: could not create %s (%s)", … … 146 146 } 147 147 /* Create the final directory. */ 148 ret = vfs_link_path(path, KIND_DIRECTORY );148 ret = vfs_link_path(path, KIND_DIRECTORY, NULL); 149 149 if (ret != EOK) { 150 150 cli_error(CL_EFAIL, "%s: could not create %s (%s)", -
uspace/app/sysinst/futil.c
rea4a3f0 ra6fc88a 128 128 } else if (s.is_directory) { 129 129 printf("Create directory '%s'\n", destp); 130 rc = vfs_link_path(destp, KIND_DIRECTORY );130 rc = vfs_link_path(destp, KIND_DIRECTORY, NULL); 131 131 if (rc != EOK) 132 132 return EIO; -
uspace/app/sysinst/sysinst.c
rea4a3f0 ra6fc88a 174 174 return EIO; 175 175 176 rc = vfs_link_path(MOUNT_POINT, KIND_DIRECTORY );176 rc = vfs_link_path(MOUNT_POINT, KIND_DIRECTORY, NULL); 177 177 if (rc != EOK) 178 178 return rc; … … 213 213 214 214 printf("sysinst_copy_boot_files(): create CD mount point\n"); 215 rc = vfs_link_path(CD_MOUNT_POINT, KIND_DIRECTORY );215 rc = vfs_link_path(CD_MOUNT_POINT, KIND_DIRECTORY, NULL); 216 216 if (rc != EOK) 217 217 return rc; -
uspace/app/tester/vfs/vfs1.c
rea4a3f0 ra6fc88a 71 71 int rc; 72 72 73 rc = vfs_link_path(TEST_DIRECTORY, KIND_DIRECTORY );73 rc = vfs_link_path(TEST_DIRECTORY, KIND_DIRECTORY, NULL); 74 74 if (rc != EOK) { 75 75 TPRINTF("rc=%d\n", rc); -
uspace/app/untar/main.c
rea4a3f0 ra6fc88a 105 105 int rc; 106 106 107 rc = vfs_link_path(header->filename, KIND_DIRECTORY );107 rc = vfs_link_path(header->filename, KIND_DIRECTORY, NULL); 108 108 if (rc != EOK) { 109 109 if (rc != EEXIST) {
Note:
See TracChangeset
for help on using the changeset viewer.
