apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r602921 - in /apr/apr/branches/0.9.x: CHANGES dso/os390/dso.c
Date Mon, 10 Dec 2007 14:54:43 GMT
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 <oscaremma gmail.com>
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 <oscaremma gmail.com>]
 
 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, 



Mime
View raw message