diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-07-22 10:50:21 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-07-22 10:50:21 +0000 |
commit | 2097abb76c1845a69a7136af388cef09243ca066 (patch) | |
tree | b0a9dc28f13cdd32de0be545e01dce96a2cf8868 | |
parent | 594f84b4e39182dcf344c02dc0185376a2726395 (diff) | |
download | samba-2097abb76c1845a69a7136af388cef09243ca066.tar.gz samba-2097abb76c1845a69a7136af388cef09243ca066.tar.xz samba-2097abb76c1845a69a7136af388cef09243ca066.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.
-rw-r--r-- | source/include/includes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 51f2ca9ee85..87547f5253f 100644 --- a/source/include/includes.h +++ b/source/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 */ |