mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 15:17:13 +08:00
gprofng: fix bug 29410 - Argument " 0." isn't numeric in numeric gt (>)
gprofng/Changelog: 2022-08-02 Ruud van der Pas <ruud.vanderpas@oracle.com> PR gprofng/29410 * gp-display-html/gp-display-html.in: Remove non-breaking spaces.
This commit is contained in:

committed by
Vladimir Mezentsev

parent
a6ad791442
commit
4d44946794
@ -6020,6 +6020,12 @@ sub generate_dis_html
|
||||
my $current_value;
|
||||
my $max_value;
|
||||
$current_value = $current_metrics[$metric];
|
||||
#------------------------------------------------------------------------------
|
||||
# As part of the padding process, non-breaking spaces may have been inserted
|
||||
# in an earlier phase. Temporarily remove these to make sure that the maximum
|
||||
# metric values can be computed.
|
||||
#------------------------------------------------------------------------------
|
||||
$current_value =~ s/ //g;
|
||||
if (exists ($max_metric_values[$metric]))
|
||||
{
|
||||
$max_value = $max_metric_values[$metric];
|
||||
|
Reference in New Issue
Block a user