patch-2.2.16 linux/fs/isofs/joliet.c
Next file: linux/fs/ncpfs/dir.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Jun 7 14:26:43 2000
- Orig file:
v2.2.15/linux/fs/isofs/joliet.c
- Orig date:
Wed Aug 26 09:54:41 1998
diff -urN v2.2.15/linux/fs/isofs/joliet.c linux/fs/isofs/joliet.c
@@ -26,15 +26,10 @@
op = ascii;
while ((*ip || ip[1]) && len) {
- ch = *ip++;
- cl = *ip++;
-
- uni_page = nls->page_uni2charset[ch];
- if (uni_page && uni_page[cl]) {
- *op++ = uni_page[cl];
- } else {
- *op++ = '?';
- }
+ int llen;
+ nls->uni2char(ip[0], ip[1], op, 20, &llen);
+ op += llen;
+ ip += 2;
len--;
}
*op = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)