Changes in / [53debe0:ccca251] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r53debe0 rccca251 722 722 (str_cmp((char *) d->name, FAT_NAME_DOT)) == 0) { 723 723 memset(d, 0, sizeof(fat_dentry_t)); 724 memcpy(d->name, FAT_NAME_DOT, FAT_NAME_LEN);725 memcpy(d->ext, FAT_EXT_PAD, FAT_EXT_LEN);724 str_cpy((char *) d->name, 8, FAT_NAME_DOT); 725 str_cpy((char *) d->ext, 3, FAT_EXT_PAD); 726 726 d->attr = FAT_ATTR_SUBDIR; 727 727 d->firstc = host2uint16_t_le(childp->firstc); … … 732 732 (str_cmp((char *) d->name, FAT_NAME_DOT_DOT) == 0)) { 733 733 memset(d, 0, sizeof(fat_dentry_t)); 734 memcpy(d->name, FAT_NAME_DOT_DOT, FAT_NAME_LEN);735 memcpy(d->ext, FAT_EXT_PAD, FAT_EXT_LEN);734 str_cpy((char *) d->name, 8, FAT_NAME_DOT_DOT); 735 str_cpy((char *) d->ext, 3, FAT_EXT_PAD); 736 736 d->attr = FAT_ATTR_SUBDIR; 737 737 d->firstc = (parentp->firstc == FAT_CLST_ROOT) ?
Note:
See TracChangeset
for help on using the changeset viewer.