* [PATCH] Fix the utf8 option of vfat (2/4)
@ 2002-05-25 11:51 OGAWA Hirofumi
0 siblings, 0 replies; only message in thread
From: OGAWA Hirofumi @ 2002-05-25 11:51 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
This patch fixes the bug which happens when utf8 option was used,
by using iocharset for upper/lower conversion.
It's a bit strange that utf8 use iocharset, but this is still needed.
Please apply.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
diff -urN fat_dentry-2.5.18/fs/fat/inode.c fat_utf8_oops-2.5.18/fs/fat/inode.c
--- fat_dentry-2.5.18/fs/fat/inode.c Sat May 25 16:52:06 2002
+++ fat_utf8_oops-2.5.18/fs/fat/inode.c Sat May 25 17:14:49 2002
@@ -872,7 +872,8 @@
if (!silent)
printk("FAT: Using codepage %s\n", sbi->nls_disk->charset);
- if (sbi->options.isvfat && !sbi->options.utf8) {
+ /* FIXME: utf8 is using iocharset for upper/lower conversion */
+ if (sbi->options.isvfat) {
if (sbi->options.iocharset != NULL) {
sbi->nls_io = load_nls(sbi->options.iocharset);
if (!sbi->nls_io) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-25 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-25 11:51 [PATCH] Fix the utf8 option of vfat (2/4) OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).