Changeset 46577995 in mainline for uspace/app/bdsh/cmds/modules/touch/touch.c
- Timestamp:
- 2018-01-04T20:50:52Z (7 years ago)
- Children:
- e211ea04
- Parents:
- facacc71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/touch/touch.c
rfacacc71 r46577995 123 123 if ((!no_create) || 124 124 ((no_create) && (vfs_stat_path(buff, &file_stat) == EOK))) { 125 int rc = vfs_lookup(buff, WALK_REGULAR | WALK_MAY_CREATE, &fd);125 errno_t rc = vfs_lookup(buff, WALK_REGULAR | WALK_MAY_CREATE, &fd); 126 126 if (rc != EOK) { 127 127 fd = -1;
Note:
See TracChangeset
for help on using the changeset viewer.