[commit: packages/unix] master: Typo in comment (cdc3ae7)
git at git.haskell.org
git at git.haskell.org
Sun Mar 23 20:28:51 UTC 2014
Repository : ssh://git@git.haskell.org/unix
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/cdc3ae7b087ac7451298a5b87fe2548fb74c2fdc/unix
>---------------------------------------------------------------
commit cdc3ae7b087ac7451298a5b87fe2548fb74c2fdc
Author: Gabor Greif <ggreif at gmail.com>
Date: Sun Mar 23 21:27:14 2014 +0100
Typo in comment
>---------------------------------------------------------------
cdc3ae7b087ac7451298a5b87fe2548fb74c2fdc
System/Posix/Env.hsc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/System/Posix/Env.hsc b/System/Posix/Env.hsc
index fbe5c79..557bc57 100644
--- a/System/Posix/Env.hsc
+++ b/System/Posix/Env.hsc
@@ -132,7 +132,7 @@ putEnv :: String -> IO ()
putEnv keyvalue = do s <- newFilePath keyvalue
-- Do not free `s` after calling putenv.
-- According to SUSv2, the string passed to putenv
- -- becomes part of the enviroment. #7342
+ -- becomes part of the environment. #7342
throwErrnoIfMinus1_ "putenv" (c_putenv s)
#if !MIN_VERSION_base(4,7,0)
where
More information about the ghc-commits
mailing list