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

Re: cvs commit: apache-2.0/src/os/win32 os.h

Once we're happy with the support from APR all platforms can remove the
duplicate code.  Has anyone tried it for Unix and AIX?  I committed the AIX
stuff but it'd be nice if someone with access to AIX could check and fix it!

:)

d.

>   Log:
>   Get APR DSO code working under Windows
>
>   -/* Abstractions for dealing with shared object files (DLLs on Win32).
>   - * These are used by mod_so.c
>   - * ToDo: This need to be migrated to APR
>   - */
>   -
>   -#define ap_os_dso_handle_t  HINSTANCE
>   -#define ap_os_dso_init()
>   -#define ap_os_dso_load(l)   LoadLibraryEx(l, NULL,
LOAD_WITH_ALTERED_SEARCH_PATH)
>   -#define ap_os_dso_unload(l) FreeLibrary(l)
>   -#define ap_os_dso_sym(h,s)  GetProcAddress(h,s)
>    #define ap_os_dso_error()   "" /* for now */
>   -
>    /* Other ap_os_ routines not used by this platform */
>    #define ap_os_kill(pid, sig)                kill(pid, sig)
>
>
>
>
>


Re: cvs commit: apache-2.0/src/os/win32 os.h

Posted by Bill Stoddard <st...@raleigh.ibm.com>.
If it's not done by next week, I'll take a look.  Need to get my new RS/6000
up and running first.

Bill



> Once we're happy with the support from APR all platforms can remove the
> duplicate code.  Has anyone tried it for Unix and AIX?  I committed the
AIX
> stuff but it'd be nice if someone with access to AIX could check and fix
it!
>
> :)
>
> d.
>
> >   Log:
> >   Get APR DSO code working under Windows
> >
> >   -/* Abstractions for dealing with shared object files (DLLs on Win32).
> >   - * These are used by mod_so.c
> >   - * ToDo: This need to be migrated to APR
> >   - */
> >   -
> >   -#define ap_os_dso_handle_t  HINSTANCE
> >   -#define ap_os_dso_init()
> >   -#define ap_os_dso_load(l)   LoadLibraryEx(l, NULL,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> >   -#define ap_os_dso_unload(l) FreeLibrary(l)
> >   -#define ap_os_dso_sym(h,s)  GetProcAddress(h,s)
> >    #define ap_os_dso_error()   "" /* for now */
> >   -
> >    /* Other ap_os_ routines not used by this platform */
> >    #define ap_os_kill(pid, sig)                kill(pid, sig)
> >
> >
> >
> >
> >
>


Re: cvs commit: apache-2.0/src/os/win32 os.h

Posted by rb...@apache.org.
I'm hazarding a guess that this doesn't work on any Unix's yet.  This is
because we have a bunch of #ifdef's in the unix code that are never
defined.  I'll get this working on Linux today, and we can move on from
there.

Ryan

On Mon, 3 Apr 2000 rbb@apache.org wrote:

> 
> This doesn't work on Linux yet.  I'm working on it currently.
> 
> Ryan
> 
> On Mon, 3 Apr 2000, David Reid wrote:
> 
> > Once we're happy with the support from APR all platforms can remove the
> > duplicate code.  Has anyone tried it for Unix and AIX?  I committed the AIX
> > stuff but it'd be nice if someone with access to AIX could check and fix it!
> > 
> > :)
> > 
> > d.
> > 
> > >   Log:
> > >   Get APR DSO code working under Windows
> > >
> > >   -/* Abstractions for dealing with shared object files (DLLs on Win32).
> > >   - * These are used by mod_so.c
> > >   - * ToDo: This need to be migrated to APR
> > >   - */
> > >   -
> > >   -#define ap_os_dso_handle_t  HINSTANCE
> > >   -#define ap_os_dso_init()
> > >   -#define ap_os_dso_load(l)   LoadLibraryEx(l, NULL,
> > LOAD_WITH_ALTERED_SEARCH_PATH)
> > >   -#define ap_os_dso_unload(l) FreeLibrary(l)
> > >   -#define ap_os_dso_sym(h,s)  GetProcAddress(h,s)
> > >    #define ap_os_dso_error()   "" /* for now */
> > >   -
> > >    /* Other ap_os_ routines not used by this platform */
> > >    #define ap_os_kill(pid, sig)                kill(pid, sig)
> > >
> > >
> > >
> > >
> > >
> > 
> > 
> 
> 
> _______________________________________________________________________________
> Ryan Bloom                        	rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> -------------------------------------------------------------------------------
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Re: cvs commit: apache-2.0/src/os/win32 os.h

Posted by rb...@apache.org.
This doesn't work on Linux yet.  I'm working on it currently.

Ryan

On Mon, 3 Apr 2000, David Reid wrote:

> Once we're happy with the support from APR all platforms can remove the
> duplicate code.  Has anyone tried it for Unix and AIX?  I committed the AIX
> stuff but it'd be nice if someone with access to AIX could check and fix it!
> 
> :)
> 
> d.
> 
> >   Log:
> >   Get APR DSO code working under Windows
> >
> >   -/* Abstractions for dealing with shared object files (DLLs on Win32).
> >   - * These are used by mod_so.c
> >   - * ToDo: This need to be migrated to APR
> >   - */
> >   -
> >   -#define ap_os_dso_handle_t  HINSTANCE
> >   -#define ap_os_dso_init()
> >   -#define ap_os_dso_load(l)   LoadLibraryEx(l, NULL,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> >   -#define ap_os_dso_unload(l) FreeLibrary(l)
> >   -#define ap_os_dso_sym(h,s)  GetProcAddress(h,s)
> >    #define ap_os_dso_error()   "" /* for now */
> >   -
> >    /* Other ap_os_ routines not used by this platform */
> >    #define ap_os_kill(pid, sig)                kill(pid, sig)
> >
> >
> >
> >
> >
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------