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

Re: Is --enable-utf8 working everywhere?

From: Ulrich Drepper <drepper_at_redhat.com>
Date: 2002-07-17 02:21:52 CEST

On Tue, 2002-07-16 at 15:48, Blair Zajac wrote:

As a real patch use

--- apr/i18n/unix/xlate.c Tue Apr 16 15:37:07 2002
+++ apr/i18n/unix/xlate.c-new Tue Jul 16 17:21:07 2002
@@ -255,7 +255,8 @@
     if (!found) {
         new->ich = iconv_open(topage, frompage);
         if (new->ich == (iconv_t)-1) {
- return errno;
+ int e = errno;
+ return e ? e : EINVAL;
         }
         found = 1;
         check_sbcs(new);

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Received on Wed Jul 17 02:22:37 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.