diff options
author | Gabor Greif <ggreif@gmail.com> | 2016-11-18 10:57:46 +0100 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2016-11-18 10:59:33 +0100 |
commit | d328abc84962dbe16763e6e82418c5bb7a2b8628 (patch) | |
tree | f83b41dc59f386871ee307296a7bd41106b208de /rts | |
parent | 94d1221cfb31188990738e7f7cbb3ae0a30c9f98 (diff) | |
download | haskell-d328abc84962dbe16763e6e82418c5bb7a2b8628.tar.gz |
Spelling in comment only
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Schedule.c | 2 | ||||
-rw-r--r-- | rts/linker/M32Alloc.c | 4 | ||||
-rw-r--r-- | rts/posix/Signals.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c index 7d5654fd03..41c68bec43 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -2817,7 +2817,7 @@ raiseExceptionHelper (StgRegTable *reg, StgTSO *tso, StgClosure *exception) // // This closure represents the expression 'raise# E' where E // is the exception raise. It is used to overwrite all the - // thunks which are currently under evaluataion. + // thunks which are currently under evaluation. // // OLD COMMENT (we don't have MIN_UPD_SIZE now): diff --git a/rts/linker/M32Alloc.c b/rts/linker/M32Alloc.c index 73f9be9cc8..c5c36231c6 100644 --- a/rts/linker/M32Alloc.c +++ b/rts/linker/M32Alloc.c @@ -22,10 +22,10 @@ Note [Compile Time Trickery] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This file implements two versions of each of the `m32_*` functions. At the top -of the file there is the real implementaion (compiled in when +of the file there is the real implementation (compiled in when `RTS_LINKER_USE_MMAP` is true) and a dummy implementation that exists only to satisfy the compiler and which hould never be called. If any of these dummy -implementaions are called the program will abort. +implementations are called the program will abort. The rationale for this is to allow the calling code to be written without using the C pre-processor (CPP) `#if` hackery. The value of `RTS_LINKER_USE_MMAP` is diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c index d73143bd31..97439c5120 100644 --- a/rts/posix/Signals.c +++ b/rts/posix/Signals.c @@ -561,7 +561,7 @@ empty_handler (int sig STG_UNUSED) When a process is suspeended with ^Z and resumed again, the shell makes no attempt to save and restore the terminal settings. So on - resume, any terminal setting modificaions we made (e.g. turning off + resume, any terminal setting modifications we made (e.g. turning off ICANON due to hSetBuffering NoBuffering) may well be lost. Hence, we arrange to save and restore the terminal settings ourselves. |