apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <mad...@hp.com>
Subject [PATCH] Be verbose during shl_load on HP-UX
Date Wed, 28 May 2003 21:46:28 GMT
Hi,
	'wondering if anybody has objections for the below patch. By having
the BIND_VERBOSE option, we can know what really failed during the shl_load.

-Madhu

Index: dso.c
===================================================================
RCS file: /home/cvs/apr/dso/unix/dso.c,v
retrieving revision 1.61
diff -u -r1.61 dso.c
--- dso.c       16 Feb 2003 10:00:08 -0000      1.61
+++ dso.c       28 May 2003 21:43:01 -0000
@@ -119,7 +119,7 @@
                                        const char *path, apr_pool_t *pool)
 {
 #if defined(DSO_USE_SHL)
-    shl_t os_handle = shl_load(path, BIND_IMMEDIATE, 0L);
+    shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE, 0L);
 
 #elif defined(DSO_USE_DYLD)
     NSObjectFileImage image;

Mime
View raw message