Changeset 28a5ebd in mainline for uspace/srv/fs
- Timestamp:
- 2020-06-18T15:39:50Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce52c333
- Parents:
- 4f663f3e
- Location:
- uspace/srv/fs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_dentry.c
r4f663f3e r28a5ebd 110 110 } 111 111 112 bool exfat_valid_char( wchar_t ch)112 bool exfat_valid_char(char32_t ch) 113 113 { 114 114 if (ch >= 0x01 && ch <= 0x1F) … … 134 134 { 135 135 size_t off = 0; 136 wchar_t ch;136 char32_t ch; 137 137 138 138 while ((ch = str_decode(name, &off, STR_NO_LIMIT)) != 0) { -
uspace/srv/fs/exfat/exfat_dentry.h
r4f663f3e r28a5ebd 37 37 #include <stdint.h> 38 38 #include <stdbool.h> 39 #include <uchar.h> 39 40 40 41 #define EXFAT_FILENAME_LEN 255 … … 156 157 uint16_t *); 157 158 158 extern bool exfat_valid_char( wchar_t);159 extern bool exfat_valid_char(char32_t); 159 160 extern bool exfat_valid_name(const char *); 160 161 -
uspace/srv/fs/fat/fat_dentry.c
r4f663f3e r28a5ebd 360 360 void str_to_ascii(char *dst, const char *src, size_t count, uint8_t pad) 361 361 { 362 wchar_t ch;362 char32_t ch; 363 363 size_t off = 0; 364 364 size_t i = 0; … … 381 381 bool fat_valid_name(const char *name) 382 382 { 383 wchar_t ch;383 char32_t ch; 384 384 size_t offset = 0; 385 385 bool result = true;
Note:
See TracChangeset
for help on using the changeset viewer.