diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-26 22:05:27 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-26 22:05:27 +0000 |
commit | a89276f1010200a98fb7cdc1a0bdf6ff48247ce6 (patch) | |
tree | 27bfd6b44927e89a86d78f220b2e87c92d16c9ca /Src/signals.c | |
parent | 134ed0ab4431b94341c8d3f0afe6a89b43d12a16 (diff) | |
download | zsh-a89276f1010200a98fb7cdc1a0bdf6ff48247ce6.tar.gz zsh-a89276f1010200a98fb7cdc1a0bdf6ff48247ce6.tar.xz zsh-a89276f1010200a98fb7cdc1a0bdf6ff48247ce6.zip |
zsh-workers/8056
Diffstat (limited to 'Src/signals.c')
-rw-r--r-- | Src/signals.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Src/signals.c b/Src/signals.c index 0c8aeb22e..50af1b400 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -523,8 +523,10 @@ handler(int sig) if (sigtrapped[SIGALRM]) { int tmout; dotrap(SIGALRM); - if ((tmout = getiparam("TMOUT"))) - alarm(tmout); /* reset the alarm */ + HEAPALLOC { + if ((tmout = getiparam("TMOUT"))) + alarm(tmout); /* reset the alarm */ + } LASTALLOC; } else { int idle = ttyidlegetfn(NULL); int tmout = getiparam("TMOUT"); |