1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 17:10:59 +01:00

25651: make getpermtext() output indentation more logical

This commit is contained in:
Peter Stephenson 2008-09-11 17:14:38 +00:00
parent fb67cd46ea
commit d37f9672cb
7 changed files with 14 additions and 17 deletions

View file

@ -5725,7 +5725,7 @@ bin_trap(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
if (!siglists[sig])
printf("trap -- '' %s\n", name);
else {
s = getpermtext(siglists[sig], NULL);
s = getpermtext(siglists[sig], NULL, 0);
printf("trap -- ");
quotedzputs(s, stdout);
printf(" %s\n", name);