diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-02-26 18:31:00 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-03-04 22:45:16 +0100 |
commit | 8be827761347b7a0a4ce6e7bdfa6fd4585606b21 (patch) | |
tree | df3f715342a7df15156805d5f21511ad635a11b1 /libtests/qtest/qutil/qutil.out | |
parent | ed19516aa77b632197f47d0ddcd9632678baab98 (diff) | |
download | qpdf-8be827761347b7a0a4ce6e7bdfa6fd4585606b21.tar.zst |
Rewrite QUtil::int_to_string and QUtil::double_to_string
Make them safer by avoiding any internal limits and replacing sprintf
with std::ostringstream.
Diffstat (limited to 'libtests/qtest/qutil/qutil.out')
-rw-r--r-- | libtests/qtest/qutil/qutil.out | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out index a48e6266..c855e98e 100644 --- a/libtests/qtest/qutil/qutil.out +++ b/libtests/qtest/qutil/qutil.out @@ -4,11 +4,10 @@ 3.141590 3.142 1000.123000 -exception 1: Util::int_to_string has been called with a padding value greater than its internal limit -exception 2: Util::int_to_string has been called with a padding value greater than its internal limit -exception 3: Util::int_to_string has been called with a padding value greater than its internal limit -exception 4: Util::double_to_string has been called with a number and a decimal places specification that would break an internal limit -exception 5: Util::double_to_string has been called with a number and a decimal places specification that would break an internal limit +0.12340 +0.00012 +0.12346 +0.00012 one 7 compare okay |