From 87d6527628583c355883cc997d54d337abae2a7a Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 6 Jan 2011 16:49:25 +0000 Subject: 28578: fix handling of numeric escapes that expand to "%" in printf format strings, so they are not treated as format introducers. --- Test/B03print.ztst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Test/B03print.ztst') 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 -- cgit 1.4.1