httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: httpd-2.0/server util_script.c
Date Wed, 25 Jul 2001 00:49:36 GMT
dreid       01/07/24 17:49:36

  Modified:    server   util_script.c
  Log:
  Another of the long term issues cleared up.  BeOS can now run
  perl and other CGI's that rely on .so's for their operation.
  
  Revision  Changes    Path
  1.59      +7 -1      httpd-2.0/server/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_script.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- util_script.c	2001/06/06 19:30:54	1.58
  +++ util_script.c	2001/07/25 00:49:36	1.59
  @@ -157,7 +157,7 @@
       conn_rec *c = r->connection;
       const char *rem_logname;
       char *env_path;
  -#if defined(WIN32) || defined(OS2)
  +#if defined(WIN32) || defined(OS2) || defined(BEOS)
       char *env_temp;
   #endif
       const char *host;
  @@ -238,6 +238,12 @@
       }
       if ((env_temp = getenv("PERLLIB_PREFIX")) != NULL) {
           apr_table_addn(e, "PERLLIB_PREFIX", env_temp);            
  +    }
  +#endif
  +
  +#ifdef BEOS
  +    if ((env_temp = getenv("LIBRARY_PATH")) != NULL) {
  +        apr_table_addn(e, "LIBRARY_PATH", env_temp);            
       }
   #endif
   
  
  
  

Mime
View raw message