Changeset 6afc9d7 in mainline for uspace/app/bdsh/cmds/modules/touch/touch.c
- Timestamp:
- 2015-10-06T19:01:36Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0328987
- Parents:
- f1f7584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/touch/touch.c
rf1f7584 r6afc9d7 123 123 124 124 /* Check whether file exists if -c (--no-create) option is given */ 125 if ((!no_create) || ((no_create) && (stat(buff, &file_stat) == EOK)))125 if ((!no_create) || ((no_create) && (stat(buff, &file_stat) == 0))) 126 126 fd = open(buff, O_RDWR | O_CREAT); 127 127
Note:
See TracChangeset
for help on using the changeset viewer.