diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-02-27 11:28:27 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-02-27 11:28:27 +0000 |
commit | b929a54bc3b1e6622917dee605ce635e4c48caf4 (patch) | |
tree | 1c52f8e87b252ba42240a07be5895b0c52679bce /pp_sys.c | |
parent | 10532ef0bc83090a3acebb63693a4f506bd96830 (diff) | |
download | perl-b929a54bc3b1e6622917dee605ce635e4c48caf4.tar.gz |
Fix for bug [ID 20020227.005] format bug with undefined _TOP
http://rt.perl.org/rt3/Ticket/Display.html?id=8698
If there was no TOP format the lines left on page was set
to fixed number, now set to the current page length of the
IO channel used. More debugging for yet another bug needed.
p4raw-id: //depot/perl@23999
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1347,7 +1347,7 @@ PP(pp_leavewrite) } topgv = gv_fetchpv(IoTOP_NAME(io),FALSE, SVt_PVFM); if (!topgv || !GvFORM(topgv)) { - IoLINES_LEFT(io) = 100000000; + IoLINES_LEFT(io) = IoPAGE_LEN(io); goto forget_top; } IoTOP_GV(io) = topgv; |