[commit: ghc] master: Grammar in comments (e3b5317)
git at git.haskell.org
git at git.haskell.org
Fri Nov 22 08:13:46 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e3b53173076cb7877945113bf82ca8fb05f35700/ghc
>---------------------------------------------------------------
commit e3b53173076cb7877945113bf82ca8fb05f35700
Author: Gabor Greif <ggreif at gmail.com>
Date: Fri Nov 22 09:09:45 2013 +0100
Grammar in comments
>---------------------------------------------------------------
e3b53173076cb7877945113bf82ca8fb05f35700
includes/rts/Linker.h | 2 +-
rts/Linker.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/includes/rts/Linker.h b/includes/rts/Linker.h
index e7e2ea5..42d316f 100644
--- a/includes/rts/Linker.h
+++ b/includes/rts/Linker.h
@@ -37,7 +37,7 @@ void initLinker (void);
* zero => Do not retain CAFs. Everything reachable from foreign
* exports will be retained, due to the StablePtrs
* created by the module initialisation code. unloadObj
- * free these StablePtrs, which will allow the CAFs to
+ * frees these StablePtrs, which will allow the CAFs to
* be GC'd and the code to be removed.
*/
void initLinker_ (int retain_cafs);
diff --git a/rts/Linker.c b/rts/Linker.c
index 1a663cb..77943a5 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1562,7 +1562,7 @@ void initLinker (void)
{
// default to retaining CAFs for backwards compatibility. Most
// users will want initLinker_(0): otherwise unloadObj() will not
- // be able to object files when they contain CAFs.
+ // be able to unload object files when they contain CAFs.
initLinker_(1);
}
More information about the ghc-commits
mailing list