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:
parent
36a11804b4
commit
4ab3fcc90d
11 changed files with 29 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue