summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-01-12 15:10:48 +0100
committerGabor Greif <ggreif@gmail.com>2017-01-13 18:13:44 +0100
commitd3ad013526b2f42b4e93ee294883e93ae988b7d8 (patch)
tree7a62b48ce6bc10742da4ef385103176b523319b1
parent6b976eb89fe72827f226506d16d3721ba4e28bab (diff)
downloadhaskell-d3ad013526b2f42b4e93ee294883e93ae988b7d8.tar.gz
Typos in comments
-rw-r--r--compiler/vectorise/Vectorise/Builtins/Initialise.hs2
-rw-r--r--libraries/base/Foreign/Marshal/Alloc.hs2
-rw-r--r--libraries/base/Foreign/Marshal/Utils.hs2
-rw-r--r--rts/linker/Elf.c2
-rw-r--r--testsuite/tests/concurrent/prog003/CASList.hs2
-rw-r--r--testsuite/tests/concurrent/prog003/MVarListLockCoupling.hs2
6 files changed, 6 insertions, 6 deletions
diff --git a/compiler/vectorise/Vectorise/Builtins/Initialise.hs b/compiler/vectorise/Vectorise/Builtins/Initialise.hs
index 69e00a0411..73cedc4c53 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 264c10c939..2a3c756035 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 6f2434610c..30e80035fa 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 f836912091..604c3dc1c9 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 445af790a3..0c4c7a0186 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 0820ccd0d2..642529cdf8 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