[EMAIL PROTECTED] 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 | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to