Changeset b19e892 in mainline for uspace/app/bdsh/cmds/modules/touch/touch.c
- Timestamp:
- 2017-04-02T10:39:13Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c4cf0d
- Parents:
- 80743a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/touch/touch.c
r80743a1 rb19e892 35 35 #include <stdlib.h> 36 36 #include <unistd.h> 37 #include <fcntl.h>38 37 #include <dirent.h> 39 38 #include <sys/types.h> … … 125 124 if ((!no_create) || 126 125 ((no_create) && (vfs_stat_path(buff, &file_stat) == EOK))) { 127 fd = open(buff, O_RDWR | O_CREAT);126 fd = vfs_lookup(buff, WALK_REGULAR | WALK_MAY_CREATE); 128 127 } 129 128
Note:
See TracChangeset
for help on using the changeset viewer.