[commit: packages/process] master: Fix reported function name in callProcess (24918b8)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:38:02 UTC 2015


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/24918b8acb6a65d134838ae243abf9fa7e467ef0/process

>---------------------------------------------------------------

commit 24918b8acb6a65d134838ae243abf9fa7e467ef0
Author: Bartosz Nitka <bnitka at fb.com>
Date:   Wed Feb 25 14:45:19 2015 +0000

    Fix reported function name in callProcess


>---------------------------------------------------------------

24918b8acb6a65d134838ae243abf9fa7e467ef0
 System/Process.hsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/Process.hsc b/System/Process.hsc
index fe3e8fc..960b49d 100644
--- a/System/Process.hsc
+++ b/System/Process.hsc
@@ -298,7 +298,7 @@ spawnCommand cmd = do
 -- /Since: 1.2.0.0/
 callProcess :: FilePath -> [String] -> IO ()
 callProcess cmd args = do
-    exit_code <- withCreateProcess_ "callCommand"
+    exit_code <- withCreateProcess_ "callProcess"
                    (proc cmd args) { delegate_ctlc = True } $ \_ _ _ p ->
                    waitForProcess p
     case exit_code of



More information about the ghc-commits mailing list