diff options
author | Ralf Kirchner <ralf.kirchner@embedded-brains.de> | 2013-05-22 12:16:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-03 17:28:40 +0200 |
commit | d2e0bb36e34f1fe45641f26b8b8d6ef615963854 (patch) | |
tree | 3975c03a1f0b0caff9d837ba1d989794f8537639 /cpukit/libfs/src/dosfs/msdos_create.c | |
parent | bsp/lm3s69xx: Typos (diff) | |
download | rtems-d2e0bb36e34f1fe45641f26b8b8d6ef615963854.tar.bz2 |
dosfs: UTF-8 Support: UI, backwards compatibility
User interface and backwards compatibility for UTF-8 support in the FAT
file system. Purpose of UTF-8 support is to permit file names and
directory names with characters from all kinds of languages (Czech,
Chinese, Arabian, Hebrew, Korean, ...). This commit does not yet
support multibyte characters. It only contains the user interface and
the backwards compatibility.
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_create.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_create.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_create.c b/cpukit/libfs/src/dosfs/msdos_create.c index 886dd404cc..e836513df8 100644 --- a/cpukit/libfs/src/dosfs/msdos_create.c +++ b/cpukit/libfs/src/dosfs/msdos_create.c @@ -90,7 +90,8 @@ msdos_creat_node(const rtems_filesystem_location_info_t *parent_loc, rtems_set_errno_and_return_minus_one(ENAMETOOLONG); } - name_type = msdos_long_to_short (name, name_len, + name_type = msdos_long_to_short (fs_info->converter, + name, name_len, MSDOS_DIR_NAME(short_node), MSDOS_NAME_MAX); if (name_type == MSDOS_NAME_INVALID) { |