Re: [perl #57776] [BUG] PIO_buf_read segfault

2008-09-22 Thread NotFound
Applied with some changes in r31335 -- Salu2

[perl #57776] [BUG] PIO_buf_read segfault

2008-09-21 Thread Stephane Payrard via RT
A better patch that stats the opened file. That avoids possible race conditions and is faster. thx to jonathan and NotFound for pointing the shortcomings of the previous patch. # now the test pass ok 3 - slurp() on directories fails --- ./src/io/io_unix.c.orig 2008-09-19 17:56:19.0

[perl #57776] [BUG] PIO_buf_read segfault

2008-09-21 Thread Stephane Payrard via RT
the problematic test is: slurp("./t") Unix accepts to open a directory but that leads to problem down the pipe. This following patch, apparently innocent, should fix the problem by refusing to open a directory but it triggers a memory bug. ../../parrot ../../runtime/parrot/library/PGE/Per

[perl #57776] [BUG] PIO_buf_read segfault

2008-08-11 Thread jason switzer
# New Ticket Created by "jason switzer" # Please include the string: [perl #57776] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=57776 > [EMAIL PROTECTED] perl6 $ gdb ./perl6 GNU gdb 6.8 Copyright (C) 2008 Free Software Fo