diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-04 18:20:32 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-04 18:20:32 +0530 |
commit | ecaf142d3d70630a0d7f028d334b5339ff2b996d (patch) | |
tree | b749a7bc2f30bf0c7f2c75c764ce7ded841ebb45 | |
parent | fbf964ae8b52fb10ebe5f43996f53ddab53c08ed (diff) | |
download | glibc-ecaf142d3d70630a0d7f028d334b5339ff2b996d.tar.gz glibc-ecaf142d3d70630a0d7f028d334b5339ff2b996d.tar.xz glibc-ecaf142d3d70630a0d7f028d334b5339ff2b996d.zip |
benchtests: skip over blank lines in benchmark input files
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | scripts/bench.pl | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 55f2c2d788..c191b98075 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com> + + * scripts/bench.pl: Skip over blank lines. + 2013-12-04 Paul Eggert <eggert@cs.ucla.edu> [BZ #926] diff --git a/scripts/bench.pl b/scripts/bench.pl index 492ab816ed..6ad93fa5ae 100755 --- a/scripts/bench.pl +++ b/scripts/bench.pl @@ -83,8 +83,8 @@ LINE:while (<INPUTS>) { } } - # Skip over comments. - if (/^#/) { + # Skip over comments and blank lines. + if (/^#/ || /^$/) { next LINE; } push (@curvals, $_); |