httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_so.c
Date Sat, 07 Feb 1998 01:07:12 GMT
marc        98/02/06 17:07:11

  Modified:    src/modules/standard mod_so.c
  Log:
  Modify to deal with systems that don't define RTLD_* macros.  We
  are lying when we use RTLD_NOW in such systems, but we have no choice.
  
  Revision  Changes    Path
  1.4       +7 -4      apache-1.3/src/modules/standard/mod_so.c
  
  Index: mod_so.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_so.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mod_so.c	1998/02/06 18:16:45	1.3
  +++ mod_so.c	1998/02/07 01:07:11	1.4
  @@ -147,7 +147,6 @@
   #endif
   
   #if defined(__FreeBSD__)
  -#define NEED_RTLD_LAZY
   #define NEED_UNDERSCORE_SYM
   #endif
   
  @@ -160,15 +159,19 @@
   #ifdef HAS_DLFCN
   #include <dlfcn.h>
   #else
  -#define NEED_RTLD_LAZY
   void * dlopen (__const char * __filename, int __flag);
   __const char * dlerror (void);
   void * dlsym (void *, __const char *);
   int dlclose (void *);
   #endif
   
  -#ifdef NEED_RTLD_LAZY
  -#define RTLD_LAZY 1
  +#ifndef RTLD_NOW
  +/* 
  + * probably on an older system that doesn't support RTLD_NOW or RTLD_LAZY.
  + * The below define is a lie since we are really doing RTLD_LAZY since the
  + * system doesn't support RTLD_NOW.
  + */
  +#define RTLD_NOW 1
   #endif
   
   static int have_symbol_table = 0;
  
  
  

Mime
View raw message