You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Moenich <mo...@us.ibm.com> on 1998/10/12 18:31:18 UTC
[PATCH] TPF util_script.c
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