ben 97/12/07 13:33:19
Modified: src/main alloc.c
Log:
Arg! Oh God! Get the formatting right before righteous bolts smite me.
Revision Changes Path
1.60 +6 -9 apachen/src/main/alloc.c
Index: alloc.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/alloc.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- alloc.c 1997/12/07 21:28:48 1.59
+++ alloc.c 1997/12/07 21:33:18 1.60
@@ -1317,21 +1317,18 @@
}
/* restore the original stdin, stdout and stderr */
- if (pipe_in)
- {
+ if (pipe_in) {
dup2(hStdIn, fileno(stdin));
close(hStdIn);
- }
- if (pipe_out)
- {
+ }
+ if (pipe_out) {
dup2(hStdOut, fileno(stdout));
close(hStdOut);
- }
- if (pipe_err)
- {
+ }
+ if (pipe_err) {
dup2(hStdErr, fileno(stderr));
close(hStdErr);
- }
+ }
if (pid) {
note_subprocess(p, pid, kill_how);