LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] befs: nls fix
@ 2004-05-22 20:09 Sergey S. Kostyliov
0 siblings, 0 replies; only message in thread
From: Sergey S. Kostyliov @ 2004-05-22 20:09 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton
[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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-22 20:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-22 20:09 [PATCH] befs: nls fix Sergey S. Kostyliov
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).