Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102906897
D16951.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
924 B
Referenced Files
None
Subscribers
None
D16951.diff
View Options
Index: head/sbin/mount_msdosfs/mount_msdosfs.c
===================================================================
--- head/sbin/mount_msdosfs/mount_msdosfs.c
+++ head/sbin/mount_msdosfs/mount_msdosfs.c
@@ -46,6 +46,7 @@
#include <ctype.h>
#include <err.h>
+#include <errno.h>
#include <grp.h>
#include <locale.h>
#include <pwd.h>
@@ -308,17 +309,17 @@
build_iovec_argf(iov, iovlen, "cs_win", ENCODING_UNICODE);
error = kiconv_add_xlat16_cspairs(ENCODING_UNICODE, cs_local);
- if (error)
+ if (error && errno != EEXIST)
return (-1);
if (cs_dos != NULL) {
error = kiconv_add_xlat16_cspairs(cs_dos, cs_local);
- if (error)
+ if (error && errno != EEXIST)
return (-1);
} else {
build_iovec_argf(iov, iovlen, "cs_dos", cs_local);
error = kiconv_add_xlat16_cspair(cs_local, cs_local,
KICONV_FROM_UPPER | KICONV_LOWER);
- if (error)
+ if (error && errno != EEXIST)
return (-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 2:27 PM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14718092
Default Alt Text
D16951.diff (924 B)
Attached To
Mode
D16951: mount_msdosfs(8) should not fail if kernel already has needed kiconv(3) parts
Attached
Detach File
Event Timeline
Log In to Comment