commit | e9bbd36fbfd35b26d16c8638e0d97c2ed2f7586d | [log] [tgz] |
---|---|---|
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Jan 27 23:07:56 2011 +0000 |
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Jan 27 23:07:56 2011 +0000 |
tree | c5f614746ca3d890cec321049d3c0631109674cc | |
parent | 12412a27a9f877e4fece77656e79598a70465d26 [diff] |
If Massif's --threshold value was less than 1.0, in lines like this: ->00.00% (0B) in 11 places, all below massif's threshold (00.00%) the threshold would always be incorrectly printed as 00.00%. This was because the percentage printing was broken for percentages less than 1.0. This change fixes this problem, and modifies a test to check for it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11511 a5019735-40e9-0310-863c-91ae7b9d1cf9