summaryrefslogtreecommitdiff
path: root/wordwrap.pl
diff options
context:
space:
mode:
Diffstat (limited to 'wordwrap.pl')
-rw-r--r--wordwrap.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/wordwrap.pl b/wordwrap.pl
index 646bbc35..807c6288 100644
--- a/wordwrap.pl
+++ b/wordwrap.pl
@@ -9,8 +9,8 @@ while (<>) {
}
next if (/^$/); # skip blank lines
$linelen = 0;
- split;
- while (defined($word = shift @_)) {
+ @words = split;
+ while (defined($word = shift @words)) {
$word =~ s#\$\(srcdir\)/\.\./version.h#\$\(top_srcdir\)/version.h#;
$word =~ s#\$\(srcdir\)/.\.\/\.\./version.h#\$\(top_srcdir\)/version.h#;
$word =~ s#\$\(srcdir\)/.\.\/et/com_err.h#\$\(top_srcdir\)/lib/et/com_err.h#;