httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Moenich <moen...@us.ibm.com>
Subject [PATCH] TPF util_script.c
Date Mon, 12 Oct 1998 16:31:18 GMT
Type cast for TPF, exec not supported yet.

Index: util_script.c
===================================================================
RCS file: /apache/apache/src/main/util_script.c,v
retrieving revision 1.1.1.1
diff -a -b -C3 -r1.1.1.1 util_script.c
*** util_script.c       1998/10/12 09:15:42     1.1.1.1
--- util_script.c       1998/10/12 09:44:52
***************
*** 521,527 ****
--- 521,531 ----
            if (maybeASCII > maybeEBCDIC) {
                ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r->server,
                         "CGI Interface Error: Script headers apparently ASCII:
+ #ifdef TPF
+                 ascii2ebcdic((unsigned char *)w, (unsigned char *)w, cp - w);
+ #else
                  ascii2ebcdic(w, w, cp - w);
+ #endif /* TPF */
            }
        }
  #endif
***************
*** 1087,1092 ****
--- 1091,1100 ----
  #endif
      return (pid);
      }
+ #elif defined(TPF)
+     ap_log_error(APLOG_MARK, APLOG_ERR, r->server,
+                   "call_exec function not allowed on TPF");
+     return (pid);
  #else
      if (ap_suexec_enabled
        && ((r->server->server_uid != ap_user_id

Joe Moenich
moenich@us.ibm.com
303 773-5483
tie-line 656-7487

Mime
View raw message