]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mount_msdosfs: do not fail mounts requiring locale name conversion table
authoreugen <eugen@FreeBSD.org>
Sat, 27 Oct 2018 16:41:34 +0000 (16:41 +0000)
committereugen <eugen@FreeBSD.org>
Sat, 27 Oct 2018 16:41:34 +0000 (16:41 +0000)
commita7019687ee3ca00674f6986e360ccc429cb302b0
treedbfba37a3e0eb49732bf28ba5d7fc6c3cec61964
parentf8a3770ab6517397834a9b5b82d209917c134481
mount_msdosfs: do not fail mounts requiring locale name conversion table
that is already present in a kernel statically.

For example, the command "mount_msdosfs -L ru_RU.KOI8-R" fails with error
"mount_msdosfs: msdosfs_iconv: File exists" for a kernel having
options LIBICONV and MSDOSFS_ICONV. After this change, it mounts successfully.

MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D16951
sbin/mount_msdosfs/mount_msdosfs.c