lkml.org 
[lkml]   [2000]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] nls support in isofs
Hi. kernel hackers.


I found a problem that isofs nls did not work in kernel 2.4.0-test*.

so I compared with 2.2 series, and found that isofs default nls was written hard coding with iso8859.

plz apply follwing patch.

Regards,
--
Young-Ho, Cha <ganadist@chollian.net>
--- linux/fs/inode.c.orig Tue Nov 28 13:22:25 2000
+++ linux/fs/inode.c Tue Nov 28 13:22:45 2000
@@ -737,7 +737,7 @@

#ifdef CONFIG_JOLIET
if (joliet_level && opt.utf8 == 0) {
- char * p = opt.iocharset ? opt.iocharset : "iso8859-1";
+ char * p = opt.iocharset ? opt.iocharset : CONFIG_NLS_DEFAULT;
s->u.isofs_sb.s_nls_iocharset = load_nls(p);
if (! s->u.isofs_sb.s_nls_iocharset) {
/* Fail only if explicit charset specified */
\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.020 / U:4.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site