dreid 99/10/08 09:19:26
Modified: src/lib/apr/threadproc/beos proc.c Log: Don't know how I missed this one from my earlier commit. This fixes ap_create_pipe ordering of arguments. Revision Changes Path 1.5 +6 -6 apache-2.0/src/lib/apr/threadproc/beos/proc.c Index: proc.c =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/proc.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- proc.c 1999/10/04 16:37:30 1.4 +++ proc.c 1999/10/08 16:19:25 1.5 @@ -94,20 +94,20 @@ { ap_status_t stat; if (in) { - if ((stat = ap_create_pipe(attr->cntxt, &attr->child_in, - &attr->parent_in)) != APR_SUCCESS) { + if ((stat = ap_create_pipe(&attr->child_in, &attr->parent_in, + attr->cntxt)) != APR_SUCCESS) { return stat; } } if (out) { - if ((stat = ap_create_pipe(attr->cntxt, &attr->parent_out, - &attr->child_out)) != APR_SUCCESS) { + if ((stat = ap_create_pipe(&attr->parent_out, &attr->child_out, + attr->cntxt)) != APR_SUCCESS) { return stat; } } if (err) { - if ((stat = ap_create_pipe(attr->cntxt, &attr->parent_err, - &attr->child_err)) != APR_SUCCESS) { + if ((stat = ap_create_pipe(&attr->parent_err, &attr->child_err, + attr->cntxt)) != APR_SUCCESS) { return stat; } }