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:
parent
052316fea3
commit
757168e2c8
28 changed files with 546 additions and 266 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue