[commit: ghc] master: Typos in comments (d3ad013)
git at git.haskell.org
git at git.haskell.org
Fri Jan 13 17:14:51 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d3ad013526b2f42b4e93ee294883e93ae988b7d8/ghc
>---------------------------------------------------------------
commit d3ad013526b2f42b4e93ee294883e93ae988b7d8
Author: Gabor Greif <ggreif at gmail.com>
Date: Thu Jan 12 15:10:48 2017 +0100
Typos in comments
>---------------------------------------------------------------
d3ad013526b2f42b4e93ee294883e93ae988b7d8
compiler/vectorise/Vectorise/Builtins/Initialise.hs | 2 +-
libraries/base/Foreign/Marshal/Alloc.hs | 2 +-
libraries/base/Foreign/Marshal/Utils.hs | 2 +-
rts/linker/Elf.c | 2 +-
testsuite/tests/concurrent/prog003/CASList.hs | 2 +-
testsuite/tests/concurrent/prog003/MVarListLockCoupling.hs | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/compiler/vectorise/Vectorise/Builtins/Initialise.hs b/compiler/vectorise/Vectorise/Builtins/Initialise.hs
index 69e00a0..73cedc4 100644
--- a/compiler/vectorise/Vectorise/Builtins/Initialise.hs
+++ b/compiler/vectorise/Vectorise/Builtins/Initialise.hs
@@ -195,7 +195,7 @@ initBuiltinVars (Builtins { })
mk_tup n name = (tupleDataCon Boxed n, name)
--- Auxilliary look up functions -----------------------------------------------
+-- Auxiliary look up functions -----------------------------------------------
-- |Lookup a variable given its name and the module that contains it.
externalVar :: FastString -> DsM Var
diff --git a/libraries/base/Foreign/Marshal/Alloc.hs b/libraries/base/Foreign/Marshal/Alloc.hs
index 264c10c..2a3c756 100644
--- a/libraries/base/Foreign/Marshal/Alloc.hs
+++ b/libraries/base/Foreign/Marshal/Alloc.hs
@@ -198,7 +198,7 @@ free :: Ptr a -> IO ()
free = _free
--- auxilliary routines
+-- auxiliary routines
-- -------------------
-- asserts that the pointer returned from the action in the second argument is
diff --git a/libraries/base/Foreign/Marshal/Utils.hs b/libraries/base/Foreign/Marshal/Utils.hs
index 6f24346..30e8003 100644
--- a/libraries/base/Foreign/Marshal/Utils.hs
+++ b/libraries/base/Foreign/Marshal/Utils.hs
@@ -177,7 +177,7 @@ fillBytes dest char size = do
_ <- memset dest (fromIntegral char) (fromIntegral size)
return ()
--- auxilliary routines
+-- auxiliary routines
-- -------------------
-- |Basic C routines needed for memory copying
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c
index f836912..604c3dc 100644
--- a/rts/linker/Elf.c
+++ b/rts/linker/Elf.c
@@ -290,7 +290,7 @@ PLTSize(void)
stashed into unused fields in the first section header.
For symbols, there seems to have been no place in the actual symbol table
- for the extra bits, so the indexes have been moved into an auxilliary
+ for the extra bits, so the indexes have been moved into an auxiliary
section instead.
For symbols in sections beyond 0xff00, the symbol's st_shndx will be an
escape value (SHN_XINDEX), and the actual 32-bit section number for symbol N
diff --git a/testsuite/tests/concurrent/prog003/CASList.hs b/testsuite/tests/concurrent/prog003/CASList.hs
index 445af79..0c4c7a0 100644
--- a/testsuite/tests/concurrent/prog003/CASList.hs
+++ b/testsuite/tests/concurrent/prog003/CASList.hs
@@ -45,7 +45,7 @@ type Iterator a = IORef (IORef (List a))
-------------------------------------------
--- auxilliary functions
+-- auxiliary functions
diff --git a/testsuite/tests/concurrent/prog003/MVarListLockCoupling.hs b/testsuite/tests/concurrent/prog003/MVarListLockCoupling.hs
index 0820ccd..642529c 100644
--- a/testsuite/tests/concurrent/prog003/MVarListLockCoupling.hs
+++ b/testsuite/tests/concurrent/prog003/MVarListLockCoupling.hs
@@ -44,7 +44,7 @@ type Iterator a = IORef (MVar (List a))
-- iterators are private
-------------------------------------------
--- auxilliary functions
+-- auxiliary functions
More information about the ghc-commits
mailing list