Applied with some changes in r31335
--
Salu2
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
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
# 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