You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2007/12/10 15:52:34 UTC

svn commit: r602919 - in /apr/apr/branches/1.2.x: CHANGES dso/os390/dso.c

Author: trawick
Date: Mon Dec 10 06:52:32 2007
New Revision: 602919

URL: http://svn.apache.org/viewvc?rev=602919&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 <oscaremma gmail.com>
Reviewed by:  trawick

Modified:
    apr/apr/branches/1.2.x/CHANGES
    apr/apr/branches/1.2.x/dso/os390/dso.c

Modified: apr/apr/branches/1.2.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/CHANGES?rev=602919&r1=602918&r2=602919&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.2.x/CHANGES [utf-8] Mon Dec 10 06:52:32 2007
@@ -1,6 +1,9 @@
                                                      -*- coding: utf-8 -*-
 Changes for APR 1.2.13
 
+  *) z/OS: return standard apr_status_t codes from apr_dso_load()
+     and apr_dso_sym().  [David Jones <oscaremma gmail.com>]
+
   *) Fix the make test target in the spec file. [Graham Leggett]
 
 Changes for APR 1.2.12

Modified: apr/apr/branches/1.2.x/dso/os390/dso.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/dso/os390/dso.c?rev=602919&r1=602918&r2=602919&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/dso/os390/dso.c (original)
+++ apr/apr/branches/1.2.x/dso/os390/dso.c Mon Dec 10 06:52:32 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,