From: Siddhesh Poyarekar Date: Wed, 4 Dec 2013 12:50:32 +0000 (+0530) Subject: benchtests: skip over blank lines in benchmark input files X-Git-Tag: upstream/2.30~8323 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecaf142d3d70630a0d7f028d334b5339ff2b996d;p=external%2Fglibc.git benchtests: skip over blank lines in benchmark input files --- diff --git a/ChangeLog b/ChangeLog index 55f2c2d..c191b98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-04 Siddhesh Poyarekar + + * scripts/bench.pl: Skip over blank lines. + 2013-12-04 Paul Eggert [BZ #926] diff --git a/scripts/bench.pl b/scripts/bench.pl index 492ab81..6ad93fa 100755 --- a/scripts/bench.pl +++ b/scripts/bench.pl @@ -83,8 +83,8 @@ LINE:while () { } } - # Skip over comments. - if (/^#/) { + # Skip over comments and blank lines. + if (/^#/ || /^$/) { next LINE; } push (@curvals, $_);