From: "Sergey S. Kostyliov" <rathamahata@php4.ru>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>
Subject: [PATCH] befs: nls fix
Date: Sun, 23 May 2004 00:09:36 +0400 [thread overview]
Message-ID: <200405230009.36637.rathamahata@php4.ru> (raw)
[PATCH] befs: nls fix
Fix nls support for character sets with character width large than 1.
===== fs/befs/linuxvfs.c 1.20 vs edited =====
--- 1.20/fs/befs/linuxvfs.c Sat May 15 06:00:21 2004
+++ edited/fs/befs/linuxvfs.c Sat May 22 23:38:50 2004
@@ -571,7 +571,7 @@
}
/* convert from Unicode to nls */
- unilen = nls->uni2char(uni, &result[o], 1);
+ unilen = nls->uni2char(uni, &result[o], in_len - o);
if (unilen < 0) {
goto conv_err;
}
reply other threads:[~2004-05-22 20:09 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=200405230009.36637.rathamahata@php4.ru \
--to=rathamahata@php4.ru \
--cc=akpm@osdl.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®