diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2011-01-06 16:49:25 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2011-01-06 16:49:25 +0000 |
commit | 87d6527628583c355883cc997d54d337abae2a7a (patch) | |
tree | a453aa43faf4fe7d2f24d0fc60657200ad1defe3 /Test/B03print.ztst | |
parent | dd0ad1ac2310853e3d4963c5715de6a9c058479f (diff) | |
download | zsh-87d6527628583c355883cc997d54d337abae2a7a.tar.gz zsh-87d6527628583c355883cc997d54d337abae2a7a.tar.xz zsh-87d6527628583c355883cc997d54d337abae2a7a.zip |
28578: fix handling of numeric escapes that expand to "%" in printf
format strings, so they are not treated as format introducers.
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r-- | Test/B03print.ztst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst index 92a24d6b6..48574c227 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -105,10 +105,9 @@ 0:numeric value of high numbered character >f0 -# code will probably be changed to print the literal `%s' in this case printf '\x25s\n' arg -0:using \x25 to introduce a format specifier ->arg +0:using \x25 to print a literal % in format +>%s printf '%3c\n' c 0:width specified in format specifier |