From dev-return-8379-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Fri Nov 01 00:09:17 2002 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 90745 invoked by uid 500); 1 Nov 2002 00:09:15 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 90730 invoked from network); 1 Nov 2002 00:09:15 -0000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Thu, 31 Oct 2002 17:09:13 -0700 From: "Brad Nicholes" To: Cc: Subject: Re: apr_iconv* API's Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bill, I noticed one problem with the xlate functions. In apr_xlate_open(), = if APU_HAS_APR_ICONV, the function check_sbcs() is called on line #293. = The problem is that the check_sbcs() function is dependent on the iconv() = functions which would only be defined if APU_HAVE_ICONV which appears to = be mutually exclusive. Therefore if you defined APU_HAS_APR_ICONV and = were using the apr_iconv library, the code would fail to link because the = check_sbcs() function is not defined. =20 =20 Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.novell.com=20 >>> "William A. Rowe, Jr." Thursday, October 31, 2002 = 11:59:13 AM >>> At 12:51 PM 10/31/2002, you wrote: > But shouldn't at least headers and stub functions be included in APR = so that platforms like NetWare can implement the functionality using their = own character set conversion APIs? No, because apr_iconv is a complete library. You should modify apr_xlate to plug in an alternate library. Note one bugaboo... our API assures that partial conversion is always possible. The native APIs on Win32 (not counting the mlang com level interface) do not, so Win32 couldn't use it's own. Hopefully, that's not true on Netware and you should be able to plug into apr_xlate seamlessly. Bill