summaryrefslogtreecommitdiffstats
path: root/sbin/mount_cd9660
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-12-08 08:32:20 +0000
committerfjoe <fjoe@FreeBSD.org>2003-12-08 08:32:20 +0000
commitab0bce9d34117f8a7b96ec8a3c86ed0e86d58ef8 (patch)
tree6ebbe6155fc751cdfa161e601e91e193cd383576 /sbin/mount_cd9660
parent8a088743dbd2835567a01e9f13b69c3dc4b0d8a9 (diff)
downloadFreeBSD-src-ab0bce9d34117f8a7b96ec8a3c86ed0e86d58ef8.zip
FreeBSD-src-ab0bce9d34117f8a7b96ec8a3c86ed0e86d58ef8.tar.gz
Make msdosfs long filenames matching case insensitive again.
PR: 59765 Submitted by: Ryuichiro Imura <imura@ryu16.org>
Diffstat (limited to 'sbin/mount_cd9660')
-rw-r--r--sbin/mount_cd9660/mount_cd9660.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c
index 5fe7279..4ac6586 100644
--- a/sbin/mount_cd9660/mount_cd9660.c
+++ b/sbin/mount_cd9660/mount_cd9660.c
@@ -255,10 +255,7 @@ set_charset(struct iso_args *args, const char *localcs)
strncpy(args->cs_disk, ENCODING_UNICODE, ICONV_CSNMAXLEN);
strncpy(args->cs_local, kiconv_quirkcs(localcs, KICONV_VENDOR_MICSFT),
ICONV_CSNMAXLEN);
- error = kiconv_add_xlat16_cspair(args->cs_local, args->cs_disk, 0);
- if (error)
- return (-1);
- error = kiconv_add_xlat16_cspair(args->cs_disk, args->cs_local, 0);
+ error = kiconv_add_xlat16_cspairs(args->cs_disk, args->cs_local);
if (error)
return (-1);
OpenPOWER on IntegriCloud