if EILSEQ doesn't exist then use EIO. It doesn't really matter what
authorAndrew Tridgell <tridge@samba.org>
Sun, 22 Jul 2001 10:50:21 +0000 (10:50 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 22 Jul 2001 10:50:21 +0000 (10:50 +0000)
error code we use, as long as its not another one that iconv() can
give.
(This used to be commit 2097abb76c1845a69a7136af388cef09243ca066)

source3/include/includes.h

index 51f2ca9ee852d5cc59e448c5239b110e1373ad28..87547f5253faaba9714bd52a31e15094f386b34b 100644 (file)
@@ -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 */