[commit: packages/process] master: runProcess.c: Clean up whitespace (dc4849d)
git at git.haskell.org
git at git.haskell.org
Wed Jul 19 21:17:42 UTC 2017
Repository : ssh://git@git.haskell.org/process
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/dc4849dc0fdae1e2f01594cc359d107d0efc1c17/process
>---------------------------------------------------------------
commit dc4849dc0fdae1e2f01594cc359d107d0efc1c17
Author: Ben Gamari <ben at smart-cactus.org>
Date: Mon Dec 12 14:45:08 2016 -0500
runProcess.c: Clean up whitespace
>---------------------------------------------------------------
dc4849dc0fdae1e2f01594cc359d107d0efc1c17
cbits/runProcess.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cbits/runProcess.c b/cbits/runProcess.c
index 02dea87..fba77a2 100644
--- a/cbits/runProcess.c
+++ b/cbits/runProcess.c
@@ -240,9 +240,9 @@ runInteractiveProcess (char *const args[],
}
// XXX Not the pipe
for (i = 3; i < max_fd; i++) {
- if (i != forkCommunicationFds[1]) {
- close(i);
- }
+ if (i != forkCommunicationFds[1]) {
+ close(i);
+ }
}
}
More information about the ghc-commits
mailing list