[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

EINVAL vs APR_EINVAL in apr_xlate_open()

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-18 23:20:58 CEST

Is there any reason to prefer EINVAL to APR_EINVAL, or vice versa, in
apr_xlate_open()? I was just about to go document this case in
apr-util/include/apr_xlate.h, when the question occurred to me...

   apr-util/xlate/xlate.c
   revision 1.4
   date: 2002/07/18 00:12:13; author: gstein; state: Exp; lines: +19 -4
   
   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.

Thanks,
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 23:33:16 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.