mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
zsh-workers/8056
This commit is contained in:
parent
134ed0ab44
commit
a89276f101
1 changed files with 4 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue