Package: libio-stringy-perl
Version: 2.111-2

IO::InnerFile::getline should return just a single line even in
wantarray context.

sub getline  { return READLINE( tied(${$_[0]}) ); }

should actually be

sub getline  { return scalar READLINE( tied(${$_[0]}) ); }

(readline has totally different syntax than getline).

[This is what broke mbox downloads in the BTS, and might break other
things which expect the documented behavior of IO::Handle::getline.]

Don Armstrong            

There is no such thing as "social gambling." Either you are there to
cut the other bloke's heart out and eat it--or you're a sucker. If you
don't like this choice--don't gamble.
 -- Robert Heinlein _Time Enough For Love_ p250

Reply via email to