Changeset 8565a42 in mainline for uspace/lib/posix/src/sys/stat.c
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/stat.c
r3061bc1 r8565a42 52 52 { 53 53 memset(dest, 0, sizeof(struct stat)); 54 54 55 55 dest->st_dev = src->service; 56 56 dest->st_ino = src->index; 57 57 58 58 /* HelenOS doesn't support permissions, so we set them all */ 59 59 dest->st_mode = S_IRWXU | S_IRWXG | S_IRWXO; … … 64 64 dest->st_mode |= S_IFDIR; 65 65 } 66 66 67 67 dest->st_nlink = src->lnkcnt; 68 68 dest->st_size = src->size;
Note:
See TracChangeset
for help on using the changeset viewer.