Changeset fcc3cd8 in mainline for uspace/srv/fs/fat/fat_directory.c


Ignore:
Timestamp:
2011-06-28T07:35:01Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4c3c4a5
Parents:
82374b2
Message:

Using new function to convert LFN UTF16 data to UTF8 string
in fat_directory_read()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_directory.c

    r82374b2 rfcc3cd8  
    154154{
    155155        fat_dentry_t *d = NULL;
    156         wchar_t wname[FAT_LFN_NAME_SIZE];
     156        uint16_t wname[FAT_LFN_NAME_SIZE];
    157157        size_t lfn_offset, lfn_size;
    158158        bool long_entry = false;
     
    199199                                        (checksum == fat_dentry_chksum(d->name))) {
    200200                                        wname[lfn_size] = '\0';
    201                                         if (wstr_to_str(name, FAT_LFN_NAME_SIZE, wname)!=EOK)
     201                                        if (utf16_to_str(name, FAT_LFN_NAME_SIZE, wname) != EOK)
    202202                                                fat_dentry_name_get(d, name);
    203203                                }
Note: See TracChangeset for help on using the changeset viewer.