Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
A solaris system can have multiple installations of iconv (the most obvious being that of its libc).
However, once configure has successfully identified an iconv, we don't really do anything with that information. Instead we try to replicate it (poorly) in our code.
Here's an example from ink_string.cc:
#if !defined(kfreebsd) && (defined(freebsd) || (!defined(__GNUC__) && defined(solaris))) if (iconv(ic, &in, &inbytesleft, &out, &outbytesleft) == (size_t) - 1) #else if (iconv(ic, (char **) &in, &inbytesleft, &out, &outbytesleft) == (size_t) - 1) #endif