Changeset 38aaf005 in mainline for uspace/app/bdsh/cmds/modules/cp/cp.c
- Timestamp:
- 2017-03-18T15:36:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad67aa1
- Parents:
- 0b97336
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cp/cp.c
r0b97336 r38aaf005 386 386 } 387 387 388 if (-1 == (fd2 = open(dest, O_ CREAT))) {388 if (-1 == (fd2 = open(dest, O_WRONLY | O_CREAT))) { 389 389 printf("Unable to open destination file %s\n", dest); 390 390 close(fd1);
Note:
See TracChangeset
for help on using the changeset viewer.