diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-01-16 13:44:18 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-01-16 13:44:18 +0000 |
commit | 757168e2c8af374436108266cc3cfd32a946a590 (patch) | |
tree | 293929274f50de8733f00c4ae561a85e9c5fc16f /Src/input.c | |
parent | 052316fea3b74599de04fb3990a444b0ba08b04b (diff) | |
download | zsh-757168e2c8af374436108266cc3cfd32a946a590.tar.gz zsh-757168e2c8af374436108266cc3cfd32a946a590.tar.xz zsh-757168e2c8af374436108266cc3cfd32a946a590.zip |
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)
Diffstat (limited to 'Src/input.c')
-rw-r--r-- | Src/input.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/input.c b/Src/input.c index e82d25011..8f33e3631 100644 --- a/Src/input.c +++ b/Src/input.c @@ -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') |