This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Perl_sv_gets(), shortbuffered is always 0 when rslen is 0.
authorNicholas Clark <nick@ccl4.org>
Mon, 29 Nov 2010 14:13:03 +0000 (14:13 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 29 Nov 2010 14:15:07 +0000 (14:15 +0000)
commit0f93bb20132f1d122993dac5d6e249240a28646e
tree7878c629ab9b5c6457f04339824feb3f57ce1608
parent3ad6135dbb7d518600eac9177c7f007cdfccf5ba
In Perl_sv_gets(), shortbuffered is always 0 when rslen is 0.

Hence we can jump past the test C<if (shortbuffered)> after the "this screams
louder" block, as that is only reached where rslen is 0.
sv.c