Changeset d2e9c47 in mainline
- Timestamp:
- 2008-08-10T09:19:32Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- da349da0
- Parents:
- 2dd7288
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r2dd7288 rd2e9c47 76 76 77 77 for (i = 0; i < FAT_NAME_LEN; i++) { 78 if (d->name[i] == FAT_PAD) { 79 buf++; 78 if (d->name[i] == FAT_PAD) 80 79 break; 81 }82 80 if (d->name[i] == FAT_DENTRY_E5_ESC) 83 81 *buf++ = 0xe5; … … 97 95 *buf++ = d->ext[i]; 98 96 } 97 *buf = '\0'; 99 98 } 100 99 … … 114 113 off_t bufpos = 0; 115 114 size_t buflen = 0; 115 off_t pos = offset * bs; 116 116 117 117 assert(dev_phone != -1); … … 129 129 b->size = bs; 130 130 131 if (!libfs_blockread(dev_phone, dev_buffer, &bufpos, &buflen, & offset,131 if (!libfs_blockread(dev_phone, dev_buffer, &bufpos, &buflen, &pos, 132 132 b->data, bs, bs)) { 133 133 free(b->data); … … 458 458 break; 459 459 } 460 if (str cmp(name, component) == 0) {460 if (stricmp(name, component) == 0) { 461 461 /* hit */ 462 462 void *node;
Note:
See TracChangeset
for help on using the changeset viewer.