Changeset b2906c0 in mainline for uspace/srv/fs/exfat
- Timestamp:
- 2017-07-11T18:44:04Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3504c1
- Parents:
- 9bf4488
- Location:
- uspace/srv/fs/exfat
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_dentry.c
r9bf4488 rb2906c0 130 130 } 131 131 132 size_t exfat_utf16_length(const uint16_t *wstr)133 {134 size_t len = 0;135 136 while (*wstr++ != 0)137 len++;138 139 return len;140 }141 142 132 /** 143 133 * @} -
uspace/srv/fs/exfat/exfat_dentry.h
r9bf4488 rb2906c0 161 161 extern bool exfat_valid_name(const char *); 162 162 163 extern size_t exfat_utf16_length(const uint16_t *);164 165 166 163 #endif 167 164 -
uspace/srv/fs/exfat/exfat_directory.c
r9bf4488 rb2906c0 371 371 ds.stream.valid_data_size = 0; 372 372 ds.stream.data_size = 0; 373 ds.stream.name_size = exfat_utf16_length(wname);373 ds.stream.name_size = utf16_wsize(wname); 374 374 ds.stream.hash = host2uint16_t_le(exfat_name_hash(wname, uctable, 375 375 uctable_chars));
Note:
See TracChangeset
for help on using the changeset viewer.