1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

19549: correct buffer size for printf spec

This commit is contained in:
Oliver Kiddle 2004-03-07 13:29:49 +00:00
parent 2ab4ce8e65
commit 3ee4759f28
3 changed files with 7 additions and 2 deletions

View file

@ -149,7 +149,7 @@
0:%n count zeroed on format reuse
>1
# this should fill spec string with '%0+- #*.*d\0' - 11 characters
# this may fill spec string with '%0+- #*.*lld\0' - 13 characters
printf '%1$0+- #-08.5dx\n' 123
0:maximal length format specification
>+00123 x