diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-01-15 21:41:39 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-01-15 21:41:39 -0700 |
commit | 06c6ab430b223f6923fe74a4b8d11f3e626848a8 (patch) | |
tree | 2b483acf3ec2da573992c20b766a480e22f4c45a /pico/osdep/altedit.c | |
parent | 9822842646bc2b940d4b98a260ee4e3ac26fce57 (diff) | |
download | alpine-06c6ab430b223f6923fe74a4b8d11f3e626848a8.tar.xz |
* Fix a number of misspellings in the source code of Alpine. I hav only
fixed those that belong to the source code of Alpine and do not come
from an external source. List contributed by Jens Schleusener.
Diffstat (limited to 'pico/osdep/altedit.c')
-rw-r--r-- | pico/osdep/altedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pico/osdep/altedit.c b/pico/osdep/altedit.c index 44e17fe8..8886a06f 100644 --- a/pico/osdep/altedit.c +++ b/pico/osdep/altedit.c @@ -574,7 +574,7 @@ child_handler(int sig) * sleep function, thus making the stack frame for the signal function * invalid, and when the ALARM handler later longjmps back into the * sleep function it does no longer have a valid stack frame. - * My sugested fix is to cancel the pending alarm in the SIGCHLD + * My suggested fix is to cancel the pending alarm in the SIGCHLD * handler before longjmp'ing. This shouldn't hurt as there * shouldn't be any ALARM pending at this point except possibly from * the sleep call. @@ -586,7 +586,7 @@ child_handler(int sig) * The sleep call might have set up a signal handler which would * longjmp back into the sleep code, and that would cause a crash. */ - signal(SIGALRM, SIG_IGN); /* Cancel signal handeler */ + signal(SIGALRM, SIG_IGN); /* Cancel signal handler */ alarm(0); /* might longjmp back into sleep */ #endif longjmp(pico_child_state, 1); |