From: Marek Szuba <scriptkiddie@wp.pl>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] isofs "default NLS charset not used" fix
Date: Thu, 22 Apr 2004 20:05:29 +0200 [thread overview]
Message-ID: <20040422200529.6a3c592c.scriptkiddie@wp.pl> (raw)
[-- Attachment #1: Type: text/plain, Size: 462 bytes --]
Hello again,
Since nobody has made any suggestions about the behaviour mentioned
above being a feature and not a bug, I took a liberty to fix it - if
changing one constant in one line of C code can be called "fixing".
The attached diff has been made against vanilla 2.6.5 kernel sources. A
bit of context changing will be in order for it to apply to 2.4.26
because of filesystem options structure type having changed; I haven't
looked at 2.2.
Regards,
--
MS
[-- Attachment #2: isofs-nls-2.6.patch --]
[-- Type: text/plain, Size: 456 bytes --]
--- linux/fs/isofs/inode.c Fri Jan 9 11:58:50 2004
+++ linux/fs/isofs/inode-defaultnls.c Thu Apr 22 18:47:12 2004
@@ -794,7 +794,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;
sbi->s_nls_iocharset = load_nls(p);
if (! sbi->s_nls_iocharset) {
/* Fail only if explicit charset specified */
reply other threads:[~2004-04-22 18:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040422200529.6a3c592c.scriptkiddie@wp.pl \
--to=scriptkiddie@wp.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.