You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/02/21 15:24:12 UTC
[jira] [Created] (TS-1718) iconv incorrectly recognized on Solaris
Igor Galić created TS-1718:
------------------------------
Summary: iconv incorrectly recognized on Solaris
Key: TS-1718
URL: https://issues.apache.org/jira/browse/TS-1718
Project: Traffic Server
Issue Type: Bug
Components: Build
Reporter: Igor Galić
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}}:
{code}
#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
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira