apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Re: cvs commit: apr/dso/unix dso.c
Date Fri, 20 Apr 2001 02:23:50 GMT
Thanks Jeff.  I did the work to add them but then my laptop ate the files
and I don't have a connection that I can commit via here in Denver.

david
----- Original Message -----
From: <trawick@apache.org>
To: <apr-cvs@apache.org>
Sent: Thursday, April 19, 2001 3:24 PM
Subject: cvs commit: apr/dso/unix dso.c


> trawick     01/04/19 07:24:17
>
>   Modified:    dso/unix dso.c
>   Log:
>   implement apr_os_dso_handle_get|put() so that Apache builds again;
>   Apache's exports.c reflected that the prototypes were added but the
>   function wasn't actually implemented
>
>   more implementations forthcoming as people figure out they can't
>   link...
>
>   Revision  Changes    Path
>   1.36      +17 -0     apr/dso/unix/dso.c
>
>   Index: dso.c
>   ===================================================================
>   RCS file: /home/cvs/apr/dso/unix/dso.c,v
>   retrieving revision 1.35
>   retrieving revision 1.36
>   diff -u -r1.35 -r1.36
>   --- dso.c 2001/04/19 07:18:47 1.35
>   +++ dso.c 2001/04/19 14:24:14 1.36
>   @@ -54,6 +54,7 @@
>
>    #include "dso.h"
>    #include "apr_strings.h"
>   +#include "apr_portable.h"
>
>    #if APR_HAS_DSO
>
>   @@ -67,6 +68,22 @@
>    #if APR_HAVE_STRING_H
>    #include <string.h> /* for strerror() on HP-UX */
>    #endif
>   +
>   +APR_DECLARE(apr_status_t) apr_os_dso_handle_put(apr_dso_handle_t
**aprdso,
>   +                                                apr_os_dso_handle_t
*osdso,
>   +                                                apr_pool_t *pool)
>   +{
>   +    *aprdso = apr_pcalloc(pool, sizeof **aprdso);
>   +    (*aprdso)->handle = *osdso;
>   +    return APR_SUCCESS;
>   +}
>   +
>   +APR_DECLARE(apr_status_t) apr_os_dso_handle_get(apr_os_dso_handle_t
*osdso,
>   +                                                apr_dso_handle_t
*aprdso)
>   +{
>   +    *osdso = aprdso->handle;
>   +    return APR_SUCCESS;
>   +}
>
>    static apr_status_t dso_cleanup(void *thedso)
>    {
>
>
>
>


Mime
View raw message