summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-22 10:50:21 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-22 10:50:21 +0000
commit5f1130746f2d519cabacd3059528148916dc554d (patch)
treef245c9bbd0a204e9c2b480525280c38d080ee709 /source3/include
parent49514266131aa55b4a97f02b39b2d5e5c1f625a2 (diff)
downloadsamba-5f1130746f2d519cabacd3059528148916dc554d.tar.gz
samba-5f1130746f2d519cabacd3059528148916dc554d.tar.bz2
samba-5f1130746f2d519cabacd3059528148916dc554d.zip
if EILSEQ doesn't exist then use EIO. It doesn't really matter what
error code we use, as long as its not another one that iconv() can give. (This used to be commit 2097abb76c1845a69a7136af388cef09243ca066)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 51f2ca9ee8..87547f5253 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1029,9 +1029,10 @@ extern int DEBUGLEVEL;
#define RTLD_NOW 0
#endif
-/* needed for some systems without iconv */
+/* needed for some systems without iconv. Doesn't really matter
+ what error code we use */
#ifndef EILSEQ
-#define EILSEQ EINVAL
+#define EILSEQ EIO
#endif
/* add varargs prototypes with printf checking */