Now files that end in a newline return an empty string on the last
iteration. (I'm not sure if that's correct.) That looks to be at least
partially to blame for this code's bus error on os x:
.sub main @MAIN
$P0 = open "test.pir", "<"
LOOP:
unless $P0 goto END
$S0 = readline $P0
Matt Diephouse <[EMAIL PROTECTED]> wrote:
> The following code segfaults when data.txt contains one line of text
> with no newline.
Thanks for reporting, fixed.
leo
# New Ticket Created by Matt Diephouse
# Please include the string: [perl #33716]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=33716 >
The following code segfaults when data.txt contains one line of text
with no newli