From d36f057df6fb989cac3089d0024bb611b77d49a4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 12 Oct 1996 01:53:03 +0000 Subject: [PATCH] Avoid lossage when called on multiple files. --- imgsizer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imgsizer b/imgsizer index c731dff..a53bba8 100755 --- a/imgsizer +++ b/imgsizer @@ -43,7 +43,7 @@ else { sub getchar { - $pushback = <> if (length($pushback) == 0); + $pushback = if (length($pushback) == 0); $char = substr($pushback, 0, 1); $pushback = substr($pushback,1); return $char; @@ -53,7 +53,7 @@ sub getchar sub sizefix # Apply attrfix to the attributes in each image tag { - while (<>) { + while () { while (/