Author: allison
Date: Sat Dec  6 23:17:35 2008
New Revision: 33591

Modified:
   branches/pdd22io_part2/t/pmc/filehandle.t

Log:
[pdd22io] Account for final readline, with 0 bytes.


Modified: branches/pdd22io_part2/t/pmc/filehandle.t
==============================================================================
--- branches/pdd22io_part2/t/pmc/filehandle.t   (original)
+++ branches/pdd22io_part2/t/pmc/filehandle.t   Sat Dec  6 23:17:35 2008
@@ -265,6 +265,7 @@
     if \$I0 goto end_read_loop
 
     test_line = readline filehandle
+    if test_line == "" goto end_read_loop
     test_line = chomp( test_line )
     \$I1 = test_line
     if \$I1 == counter goto read_loop

Reply via email to