Changeset 6eb2e96 in mainline for uspace/srv/fs/fat/fat_ops.c
- Timestamp:
- 2009-04-10T07:53:54Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cc6a52
- Parents:
- f4b1535
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
rf4b1535 r6eb2e96 490 490 str_cmp(d->name, FAT_NAME_DOT) == 0) { 491 491 memset(d, 0, sizeof(fat_dentry_t)); 492 str cpy(d->name, FAT_NAME_DOT);493 str cpy(d->ext, FAT_EXT_PAD);492 str_cpy(d->name, 8, FAT_NAME_DOT); 493 str_cpy(d->ext, 3, FAT_EXT_PAD); 494 494 d->attr = FAT_ATTR_SUBDIR; 495 495 d->firstc = host2uint16_t_le(childp->firstc); … … 500 500 str_cmp(d->name, FAT_NAME_DOT_DOT) == 0) { 501 501 memset(d, 0, sizeof(fat_dentry_t)); 502 str cpy(d->name, FAT_NAME_DOT_DOT);503 str cpy(d->ext, FAT_EXT_PAD);502 str_cpy(d->name, 8, FAT_NAME_DOT_DOT); 503 str_cpy(d->ext, 3, FAT_EXT_PAD); 504 504 d->attr = FAT_ATTR_SUBDIR; 505 505 d->firstc = (parentp->firstc == FAT_CLST_ROOT) ?
Note:
See TracChangeset
for help on using the changeset viewer.