aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_udf
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-12-08 08:32:20 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-12-08 08:32:20 +0000
commit0f4e4130e1c622d1a720a0ab762df30f111d456c (patch)
tree6ebbe6155fc751cdfa161e601e91e193cd383576 /sbin/mount_udf
parentea828b0636ed21d83f74d8a8987f023e14464ce9 (diff)
Make msdosfs long filenames matching case insensitive again.
PR: 59765 Submitted by: Ryuichiro Imura <imura@ryu16.org>
Notes
Notes: svn path=/head/; revision=123293
Diffstat (limited to 'sbin/mount_udf')
-rw-r--r--sbin/mount_udf/mount_udf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/mount_udf/mount_udf.c b/sbin/mount_udf/mount_udf.c
index 8a4692d94093..264c24c5d5ea 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);
}