apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr-util/xlate xlate.c
Date Thu, 18 Jul 2002 00:44:38 GMT
gstein@apache.org writes:

> gstein      2002/07/17 17:12:14
> 
>   Modified:    xlate    xlate.c
>   Log:
>   Fix some error handling for platforms with a broken iconv(). In
>   certain cases, iconv will return -1 to indicate an error, but it won't
>   set the errno variable. Return EINVAL in these cases.

Doesn't your code assume that errno gets cleared by the iconv routine?
Is that really true, or does errno need to be cleared before iconv
calls?

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message