From ab0bce9d34117f8a7b96ec8a3c86ed0e86d58ef8 Mon Sep 17 00:00:00 2001 From: fjoe Date: Mon, 8 Dec 2003 08:32:20 +0000 Subject: Make msdosfs long filenames matching case insensitive again. PR: 59765 Submitted by: Ryuichiro Imura --- sbin/mount_udf/mount_udf.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sbin/mount_udf') diff --git a/sbin/mount_udf/mount_udf.c b/sbin/mount_udf/mount_udf.c index 8a4692d..264c24c 100644 --- a/sbin/mount_udf/mount_udf.c +++ b/sbin/mount_udf/mount_udf.c @@ -172,14 +172,9 @@ set_charset(char **cs_disk, char **cs_local, const char *localcs) return (-1); strncpy(*cs_disk, ENCODING_UNICODE, ICONV_CSNMAXLEN); strncpy(*cs_local, localcs, ICONV_CSNMAXLEN); - error = kiconv_add_xlat16_cspair(*cs_local, *cs_disk, 0); + error = kiconv_add_xlat16_cspairs(*cs_disk, *cs_local); if (error) return (-1); -#if 0 - error = kiconv_add_xlat16_cspair(*cs_disk, *cs_local, 0); - if (error) - return (-1); -#endif return (0); } -- cgit v1.1