1
0
Fork 0
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:
Jun Kuriyama 2014-12-16 23:40:32 -08:00 committed by Barton E. Schaefer
parent 0c4cb0cc1b
commit e12b515082
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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);