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


Ignore:
Timestamp:
2017-07-11T18:44:04Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3504c1
Parents:
9bf4488
Message:

One function to compute the number of code units in a UTF-16 null-terminated string.

File:
1 edited

Legend:

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

    r9bf4488 rb2906c0  
    301301                        return rc;
    302302               
    303                 lfn_size = utf16_length(wname);
     303                lfn_size = utf16_wsize(wname);
    304304                long_entry_count = lfn_size / FAT_LFN_ENTRY_SIZE;
    305305                if (lfn_size % FAT_LFN_ENTRY_SIZE)
Note: See TracChangeset for help on using the changeset viewer.