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" Must I specify an absolute pathname to get the original behavior? -- Bob Rogers http://rgrjr.dyndns.org/ ------------------------------------------------------------------------ Index: src/packfile.c =================================================================== --- src/packfile.c (revision 10372) +++ src/packfile.c (revision 10373) @@ -3388,7 +3388,9 @@ ext = strrchr(filename, '.'); if (ext && strcmp (ext, ".pbc") == 0) { - pf = PackFile_append_pbc(interpreter, filename); + const char *fullname = Parrot_locate_runtime_file(interpreter, + filename, PARROT_RUNTIME_FT_PBC); + pf = PackFile_append_pbc(interpreter, fullname); if (!pf) { internal_exception(1, "Couldn't find PBC file"); return;