Page MenuHomeFreeBSD

D16951.diff
No OneTemporary

D16951.diff

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

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)

Event Timeline