diff options
Diffstat (limited to 'os/tpf')
-rw-r--r-- | os/tpf/ebcdic.c | 6 | ||||
-rw-r--r-- | os/tpf/os.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/os/tpf/ebcdic.c b/os/tpf/ebcdic.c index 0fad41ebc8..c266f644a2 100644 --- a/os/tpf/ebcdic.c +++ b/os/tpf/ebcdic.c @@ -67,7 +67,7 @@ the BS2000 (apache/src/os/bs2000/ebcdic.c). /* Bijective EBCDIC (character set IBM-1047) to US-ASCII table: -This ap_table_t is bijective - there are no ambigous or duplicate characters. +This apr_table_t is bijective - there are no ambigous or duplicate characters. */ const unsigned char os_toascii_strictly[256] = { 0x00, 0x01, 0x02, 0x03, 0x85, 0x09, 0x86, 0x7f, /* 00-0f: */ @@ -106,7 +106,7 @@ const unsigned char os_toascii_strictly[256] = { /* Server EBCDIC (character set IBM-1047) to US-ASCII table: -This ap_table_t is a copy of the os_toascii_strictly bijective ap_table_t above. +This apr_table_t is a copy of the os_toascii_strictly bijective apr_table_t above. The only change is that hex 0a (\012 octal) is mapped to hex 0a (ASCII's line feed) instead of hex 8e. This is done because throughout Apache, protocol string definitions hardcode the linefeed as \012 (octal): @@ -150,7 +150,7 @@ const unsigned char os_toascii[256] = { /* The US-ASCII to EBCDIC (character set IBM-1047) table: -This ap_table_t is bijective (no ambiguous or duplicate characters) +This apr_table_t is bijective (no ambiguous or duplicate characters) */ const unsigned char os_toebcdic[256] = { 0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f, /* 00-0f: */ diff --git a/os/tpf/os.c b/os/tpf/os.c index 246b0a4f06..d48d2432db 100644 --- a/os/tpf/os.c +++ b/os/tpf/os.c @@ -94,7 +94,7 @@ int ap_checkconv(struct request_rec *r) strncasecmp(type, "message/", 8) == 0)) { if (strncasecmp(type, ASCIITEXT_MAGIC_TYPE_PREFIX, sizeof(ASCIITEXT_MAGIC_TYPE_PREFIX)-1) == 0){ - r->content_type = ap_pstrcat(r->pool, "text/", + r->content_type = apr_pstrcat(r->pool, "text/", type+sizeof(ASCIITEXT_MAGIC_TYPE_PREFIX)-1, NULL); if (r->method_number == M_PUT) ap_bsetflag(r->connection->client, B_ASCII2EBCDIC, 0); @@ -212,7 +212,7 @@ int execvp(const char *file, char *const argv[]) -int ap_tpf_spawn_child(ap_pool_t *p, int (*func) (void *, child_info *), +int ap_tpf_spawn_child(apr_pool_t *p, int (*func) (void *, child_info *), void *data, enum kill_conditions kill_how, int *pipe_in, int *pipe_out, int *pipe_err, int out_fds[], int in_fds[], int err_fds[]) @@ -223,7 +223,7 @@ int ap_tpf_spawn_child(ap_pool_t *p, int (*func) (void *, child_info *), int fd_flags_out, fd_flags_in, fd_flags_err; struct tpf_fork_input fork_input; TPF_FORK_CHILD *cld = (TPF_FORK_CHILD *) data; - ap_array_header_t *env_arr = ap_table_elts ((array_header *) cld->subprocess_env); + apr_array_header_t *env_arr = ap_table_elts ((array_header *) cld->subprocess_env); table_entry *elts = (table_entry *) env_arr->elts; @@ -323,7 +323,7 @@ int ap_tpf_spawn_child(ap_pool_t *p, int (*func) (void *, child_info *), if (pid) { - ap_note_subprocess(p, pid, kill_how); + apr_note_subprocess(p, pid, kill_how); if (pipe_out) { *pipe_out = out_fds[0]; @@ -396,7 +396,7 @@ int os_check_server(char *server) { return 0; } -void os_note_additional_cleanups(ap_pool_t *p, int sd) { +void os_note_additional_cleanups(apr_pool_t *p, int sd) { char sockfilename[50]; /* write the socket to file so that TPF socket device driver will close socket in case we happen to abend. */ |