[commit: packages/process] master: Slight documentation cleanup (10a0db2)
git at git.haskell.org
git at git.haskell.org
Thu Mar 19 11:37:58 UTC 2015
Repository : ssh://git@git.haskell.org/process
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/10a0db27adfdf61e644d3d97f3224fb1930fae05/process
>---------------------------------------------------------------
commit 10a0db27adfdf61e644d3d97f3224fb1930fae05
Author: Michael Snoyman <michael at snoyman.com>
Date: Wed Feb 18 16:31:54 2015 +0200
Slight documentation cleanup
>---------------------------------------------------------------
10a0db27adfdf61e644d3d97f3224fb1930fae05
System/Process/Internals.hs | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs
index 87d1d46..9d2be0a 100644
--- a/System/Process/Internals.hs
+++ b/System/Process/Internals.hs
@@ -463,9 +463,10 @@ createProcess_ fun CreateProcess{ cmdspec = cmdsp,
runInteractiveProcess_lock :: MVar ()
runInteractiveProcess_lock = unsafePerformIO $ newMVar ()
--- Following functions are always exported in export list.
--- It should be a no-op function on Windows.
--- see the <https://github.com/haskell/process/pull/21>
+-- The following functions are always present in the export list. For
+-- compatibility with the non-Windows code, we provide the same functions with
+-- matching type signatures, but implemented as no-ops. For details, see:
+-- <https://github.com/haskell/process/pull/21>
startDelegateControlC :: IO ()
startDelegateControlC = return ()
@@ -475,6 +476,8 @@ endDelegateControlC _ = return ()
stopDelegateControlC :: IO ()
stopDelegateControlC = return ()
+-- End no-op functions
+
foreign import ccall unsafe "runInteractiveProcess"
c_runInteractiveProcess
:: CWString
More information about the ghc-commits
mailing list