From: Leopold Toetsch <[EMAIL PROTECTED]>
Date: Fri, 9 Dec 2005 00:11:25 +0100
On Dec 8, 2005, at 3:13, Bob Rogers wrote:
> The change below means that the following code no longer works for
> loading non-Parrot compiled libraries from the current directory:
>
> load_bytecode "structures.pbc"
I've tested above-like file loading and it worked. OTOH bernhard today
mentioned on IRC that a similar .include "file" didn't work either.
Only a real world example or test revealed the problem, (which should
be fixed now (>= r10407).
Sorry; I thought I had mentioned that it failed from outside the Parrot
build tree. It now works for me; thanks.
A small test case is always a good thing, the more as it can live on
inside t/*/*.t
leo
I was waiting to learn whether this was a new policy, especially since I
wasn't sure how to write a portable test that did a 'cd' to some
(writable, non-problematic) place outside the Parrot build tree. (Unix
has /tmp, but that has security drawbacks.) Next time, though, I'll try
to be more precise.
-- Bob