summaryrefslogtreecommitdiff
path: root/pico/osdep/altedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'pico/osdep/altedit.c')
-rw-r--r--pico/osdep/altedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pico/osdep/altedit.c b/pico/osdep/altedit.c
index 44e17fe..8886a06 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);