From 757168e2c8af374436108266cc3cfd32a946a590 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 16 Jan 2001 13:44:18 +0000 Subject: 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) --- Src/prompt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src/prompt.c') diff --git a/Src/prompt.c b/Src/prompt.c index cca6da21f..b90bfff2a 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -372,12 +372,15 @@ putpromptchar(int doprint, int endchar) bp += strlen(bp); break; case 'M': + queue_signals(); if ((hostnam = getsparam("HOST"))) stradd(hostnam); + unqueue_signals(); break; case 'm': if (!arg) arg++; + queue_signals(); if (!(hostnam = getsparam("HOST"))) break; if (arg < 0) { @@ -394,6 +397,7 @@ putpromptchar(int doprint, int endchar) stradd(hostnam); *ss = t0; } + unqueue_signals(); break; case 'S': txtchangeset(TXTSTANDOUT, TXTNOSTANDOUT); -- cgit 1.4.1