From commits-return-9330-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Mon Dec 10 14:55:06 2007 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 20007 invoked from network); 10 Dec 2007 14:55:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Dec 2007 14:55:06 -0000 Received: (qmail 30302 invoked by uid 500); 10 Dec 2007 14:54:55 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 30265 invoked by uid 500); 10 Dec 2007 14:54:55 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 30254 invoked by uid 99); 10 Dec 2007 14:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 06:54:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 14:54:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BB8A41A9832; Mon, 10 Dec 2007 06:54:45 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r602921 - in /apr/apr/branches/0.9.x: CHANGES dso/os390/dso.c Date: Mon, 10 Dec 2007 14:54:43 -0000 To: commits@apr.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071210145445.BB8A41A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Mon Dec 10 06:54:41 2007 New Revision: 602921 URL: http://svn.apache.org/viewvc?rev=602921&view=rev Log: merge r602460 from trunk: z/OS: return standard apr_status_t codes from apr_dso_load() and apr_dso_sym(). Submitted by: David Jones Reviewed by: trawick Modified: apr/apr/branches/0.9.x/CHANGES apr/apr/branches/0.9.x/dso/os390/dso.c Modified: apr/apr/branches/0.9.x/CHANGES URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/CHANGES?rev=602921&r1=602920&r2=602921&view=diff ============================================================================== --- apr/apr/branches/0.9.x/CHANGES [utf-8] (original) +++ apr/apr/branches/0.9.x/CHANGES [utf-8] Mon Dec 10 06:54:41 2007 @@ -1,7 +1,8 @@ -*- coding: utf-8 -*- Changes with APR 0.9.18 - + *) z/OS: return standard apr_status_t codes from apr_dso_load() + and apr_dso_sym(). [David Jones ] Changes with APR 0.9.17 Modified: apr/apr/branches/0.9.x/dso/os390/dso.c URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/dso/os390/dso.c?rev=602921&r1=602920&r2=602921&view=diff ============================================================================== --- apr/apr/branches/0.9.x/dso/os390/dso.c (original) +++ apr/apr/branches/0.9.x/dso/os390/dso.c Mon Dec 10 06:54:41 2007 @@ -72,7 +72,7 @@ } (*res_handle)->failing_errno = errno; - return errno; + return APR_EDSOOPEN; } APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle) @@ -96,7 +96,7 @@ return APR_SUCCESS; } handle->failing_errno = errno; - return errno; + return APR_ESYMNOTFOUND; } APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *handle, char *buffer,