mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-07 21:31:17 +02:00
33984: bin_dirs() should use zputs() to print metafied directory names
This commit is contained in:
parent
0c4cb0cc1b
commit
e12b515082
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
2014-12-16 Barton E. Schaefer <schaefer@brasslantern.com>
|
||||
2014-12-16 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* Jun Kuriyama: 33984: Src/builtin.c: bin_dirs() should use
|
||||
zputs() to print metafied directory names
|
||||
|
||||
* Chirantan Ekbote: 33982: Src/jobs.c: minimal support for pid
|
||||
namespaces by recognizing that GETPGRP() may return 0
|
||||
|
|
|
@ -719,7 +719,7 @@ bin_dirs(UNUSED(char *name), char **argv, Options ops, UNUSED(int func))
|
|||
for (node = firstnode(dirstack); node; incnode(node)) {
|
||||
printf(fmt, pos++);
|
||||
if (OPT_ISSET(ops,'l'))
|
||||
fputs(getdata(node), stdout);
|
||||
zputs(getdata(node), stdout);
|
||||
else
|
||||
fprintdir(getdata(node), stdout);
|
||||
|
||||
|
|
Loading…
Reference in a new issue