1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-28 15:21:03 +01: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

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