1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365)

This commit is contained in:
Sven Wischnowsky 2001-01-16 13:44:18 +00:00
parent 052316fea3
commit 757168e2c8
28 changed files with 546 additions and 266 deletions

View file

@ -141,9 +141,7 @@ shingetline(void)
for (;;) {
do {
errno = 0;
ALLOWTRAPS {
c = fgetc(bshin);
} DISALLOWTRAPS;
c = fgetc(bshin);
} while (c < 0 && errno == EINTR);
if (c < 0 || c == '\n') {
if (c == '\n')