You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by David Reid <dr...@jetnet.co.uk> on 2001/04/20 04:23:50 UTC

Re: cvs commit: apr/dso/unix dso.c

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: <tr...@apache.org>
To: <ap...@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)
>    {
>
>
>
>