Changes in uspace/app/bdsh/cmds/modules/touch/touch.c [6afc9d7:86cf96d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/touch/touch.c
r6afc9d7 r86cf96d 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) == 0)))125 if ((!no_create) || ((no_create) && (stat(buff, &file_stat) == EOK))) 126 126 fd = open(buff, O_RDWR | O_CREAT); 127 127
Note:
See TracChangeset
for help on using the changeset viewer.