diff options
author | Jeff Trawick <trawick@apache.org> | 2009-03-27 00:47:52 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2009-03-27 00:47:52 +0100 |
commit | ee32468a33d082bf8ea5c804efbee76676ef6d68 (patch) | |
tree | 6b5074eeaf71cc1262d273d6f4160d9eaf6eb2f4 /server/util_script.c | |
parent | * Update transformation. (diff) | |
download | apache2-ee32468a33d082bf8ea5c804efbee76676ef6d68.tar.xz apache2-ee32468a33d082bf8ea5c804efbee76676ef6d68.zip |
remove OS/2 platform support
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@758929 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_script.c')
-rw-r--r-- | server/util_script.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/server/util_script.c b/server/util_script.c index 707c1b53df..14678ec310 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -37,11 +37,6 @@ #include "apr_date.h" /* For apr_date_parse_http() */ #include "util_ebcdic.h" -#ifdef OS2 -#define INCL_DOS -#include <os2.h> -#endif - /* * Various utility functions which are common to a whole lot of * script-type extensions mechanisms, and might as well be gathered @@ -122,7 +117,7 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r) conn_rec *c = r->connection; const char *rem_logname; char *env_path; -#if defined(WIN32) || defined(OS2) +#if defined(WIN32) char *env_temp; #endif const char *host; @@ -200,21 +195,6 @@ AP_DECLARE(void) ap_add_common_vars(request_rec *r) } #endif -#ifdef OS2 - if ((env_temp = getenv("COMSPEC")) != NULL) { - apr_table_addn(e, "COMSPEC", env_temp); - } - if ((env_temp = getenv("ETC")) != NULL) { - apr_table_addn(e, "ETC", env_temp); - } - if ((env_temp = getenv("DPATH")) != NULL) { - apr_table_addn(e, "DPATH", env_temp); - } - if ((env_temp = getenv("PERLLIB_PREFIX")) != NULL) { - apr_table_addn(e, "PERLLIB_PREFIX", env_temp); - } -#endif - apr_table_addn(e, "SERVER_SIGNATURE", ap_psignature("", r)); apr_table_addn(e, "SERVER_SOFTWARE", ap_get_server_banner()); apr_table_addn(e, "SERVER_NAME", |