httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <>
Subject Re: cvs commit: apache-2.0/src/lib/apr/dso/os2 dso.c dso.h
Date Tue, 28 Mar 2000 01:53:34 GMT
On Mon, 27 Mar 2000 18:29:59 +0100, David Reid wrote:

>That's true, and I'll fix it before too long.  Also I think some changes to
>the way the types are defined may be in order, but I'll let you know about

Also, shouldn't there be a cleanup that unloads the module?

One other thing, the OS/2 API call DosLoadModule() returns a valuable
piece of information on failure, the name of the module that failed to
load. When loading a DLL, that DLL may depend on a whole chain of other
DLLs, any one of which may fail. Knowing which one did can save a whole
lotta time. 

In 1.3, this information is put in the static error string for later
retrieval by ap_os_dso_error(). For APR I'm thinking that it could be
stored in the dso_handle_t for later retrieval by a suitable accessor

Would this apply to any other platforms?

>----- Original Message -----
>From: "Brian Havard" <>
>To: <>
>Sent: Monday, March 27, 2000 1:19 PM
>Subject: Re: cvs commit: apache-2.0/src/lib/apr/dso/os2 dso.c
>> On Mon, 27 Mar 2000 10:27:58 +0100, David Reid wrote:
>> >Yes, I only cut/pasted to get the code in place.  Hope it wasn't too much
>> >grief!
>> Nah, only took a few minutes. One thing I would like to point out
>> though is that the function args for ap_status_t ap_dso_load() don't
>> don't match the usual APR rules (result first, context last).

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  |  He's a very naughty boy!" - Life of Brian |

View raw message