mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
11473: Turn off xtrace while printing PS4.
This commit is contained in:
parent
f97eaa4579
commit
279132a957
@ -1,3 +1,7 @@
|
||||
2000-05-20 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 11473: Src/utils.c: Turn off xtrace while printing PS4.
|
||||
|
||||
2000-05-19 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 11471: Completion/User/_netscape, Completion/User/_urls: do
|
||||
|
@ -798,11 +798,13 @@ printprompt4(void)
|
||||
if (!xtrerr)
|
||||
xtrerr = stderr;
|
||||
if (prompt4) {
|
||||
int l;
|
||||
int l, t = opts[XTRACE];
|
||||
char *s = dupstring(prompt4);
|
||||
|
||||
opts[XTRACE] = 0;
|
||||
unmetafy(s, &l);
|
||||
s = unmetafy(promptexpand(metafy(s, l, META_NOALLOC), 0, NULL, NULL), &l);
|
||||
opts[XTRACE] = t;
|
||||
|
||||
fprintf(xtrerr, "%s", s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user