Re: [perl #33716] Segfault while using readline

2005-01-10 Thread Matt Diephouse
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

Re: [perl #33716] Segfault while using readline

2005-01-10 Thread Leopold Toetsch
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

[perl #33716] Segfault while using readline

2005-01-08 Thread via RT
# 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