Changeset 7c3fb9b in mainline for uspace/app/bdsh/cmds/modules/cp/cp.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cp/cp.c
rfac0ac7 r7c3fb9b 207 207 /* e.g. cp file_name /data/ */ 208 208 209 /* dest is a directory, 209 /* 210 * dest is a directory, 210 211 * append the src filename to it. 211 212 */ … … 231 232 /* e.g. cp file_name existing_file */ 232 233 233 /* dest already exists, 234 /* 235 * dest already exists, 234 236 * if force is set we will try to remove it. 235 237 * if interactive is set user input is required. … … 298 300 if (str_cmp(src_dirname, "..") && 299 301 str_cmp(src_dirname, ".")) { 300 /* The last component of src_path is 302 /* 303 * The last component of src_path is 301 304 * not '.' or '..' 302 305 */ … … 314 317 default: 315 318 case TYPE_NONE: 316 /* dest does not exists, this means the user wants 319 /* 320 * dest does not exists, this means the user wants 317 321 * to specify the name of the destination directory 318 322 * … … 336 340 } 337 341 338 /* Copy every single directory entry of src into the 342 /* 343 * Copy every single directory entry of src into the 339 344 * destination directory. 340 345 */
Note:
See TracChangeset
for help on using the changeset viewer.