aboutsummaryrefslogtreecommitdiff
path: root/threadproc/unix/proc.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-05-24 00:15:05 +0000
committerRyan Bloom <rbb@apache.org>2000-05-24 00:15:05 +0000
commitf5cc86fa5e51997894d66c8e848c3e4ac78f7694 (patch)
tree9919ff78ab9edc2f9f9e7c6f33816f510ed4c681 /threadproc/unix/proc.c
parent536eda036eb071768ea51b3cdd08888ce1c5ed15 (diff)
downloadapr-f5cc86fa5e51997894d66c8e848c3e4ac78f7694.tar.gz
apr-f5cc86fa5e51997894d66c8e848c3e4ac78f7694.zip
Rename stdin, stdout, stderr from new ap_proc_t to in, out, and err because
Windows was having problems with the original names. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60088 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r--threadproc/unix/proc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c
index 1357ca187..9175585a3 100644
--- a/threadproc/unix/proc.c
+++ b/threadproc/unix/proc.c
@@ -200,15 +200,15 @@ ap_status_t ap_fork(ap_proc_t *proc, ap_pool_t *cont)
}
else if (pid == 0) {
proc->pid = pid;
- proc->stdin = NULL;
- proc->stdout = NULL;
- proc->stderr = NULL;
+ proc->in = NULL;
+ proc->out = NULL;
+ proc->err = NULL;
return APR_INCHILD;
}
proc->pid = pid;
- proc->stdin = NULL;
- proc->stdout = NULL;
- proc->stderr = NULL;
+ proc->in = NULL;
+ proc->out = NULL;
+ proc->err = NULL;
return APR_INPARENT;
}
@@ -221,9 +221,9 @@ ap_status_t ap_create_process(ap_proc_t *new, const char *progname,
my_stupid_string *newargs;
ap_proc_t pgrp;
- new->stdin = attr->parent_in;
- new->stderr = attr->parent_err;
- new->stdout = attr->parent_out;
+ new->in = attr->parent_in;
+ new->err = attr->parent_err;
+ new->out = attr->parent_out;
if ((new->pid = fork()) < 0) {
return errno;
}