1
0
Fork 0
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:
Tanaka Akira 1999-09-26 22:05:27 +00:00
parent 134ed0ab44
commit a89276f101

View file

@ -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");