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

39545: Add some missing unqueue_signals().

All of these are added simply to fit existing logic in other branches.
This commit is contained in:
Peter Stephenson 2016-10-03 13:43:20 +01:00
parent 36a11804b4
commit 4ab3fcc90d
11 changed files with 29 additions and 4 deletions

View file

@ -491,8 +491,10 @@ putpromptchar(int doprint, int endchar, unsigned int *txtchangep)
if (!arg)
arg++;
queue_signals();
if (!(hostnam = getsparam("HOST")))
if (!(hostnam = getsparam("HOST"))) {
unqueue_signals();
break;
}
if (arg < 0) {
for (ss = hostnam + strlen(hostnam); ss > hostnam; ss--)
if (ss[-1] == '.' && !++arg)