Changeset a35b458 in mainline for uspace/lib/posix/src/sys/stat.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/sys/stat.c
r3061bc1 ra35b458 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.