[perl #34051] [PATCH] return absolute paths from Parrot_locate_runtime_file
[perl #34051] [PATCH] return absolute paths from Parrot_locate_runtime_file

Parrot_readbc can segfault when loading an absolute path to a file (in my
case, only under GDB).  the problem lies in Parrot_locate_runtime_file,
and is similar to the one in ticket #32087.

the attached patch adds a check in Parrot_locate_runtime_file so it
returns absolute paths as is.  it handles win32 paths (and drive letters)
as well.  hopefully i chose the most logical place for this -- i didn't
think it belonged in Parrot_readbc itself.

Courtesy of Jeff Horwitz <jeff@smashing.org>


git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@7530 d31e2699-5ff4-0310-a27c-f18f2fbe73fe

youprofit/parrot,fernandobrito/parrot,gagern/parrot,tewk/parrot-select,gitster/parrot,gagern/parrot,parrot/parrot,youprofit/parrot,tkob/parrot,parrot/parrot,tewk/parrot-select,FROGGS/parrot,parrot/parrot,FROGGS/parrot,fernandobrito/parrot,FROGGS/parrot,fernandobrito/parrot,FROGGS/parrot,gagern/parrot,parrot/parrot,fernandobrito/parrot,tkob/parrot,tkob/parrot,youprofit/parrot,youprofit/parrot,gagern/parrot,gagern/parrot,youprofit/parrot,parrot/parrot,tkob/parrot,gitster/parrot,FROGGS/parrot,gitster/parrot,FROGGS/parrot,tewk/parrot-select,youprofit/parrot,tewk/parrot-select,tkob/parrot,tkob/parrot,gitster/parrot,tewk/parrot-select,gitster/parrot,fernandobrito/parrot,gitster/parrot,gitster/parrot,FROGGS/parrot,tkob/parrot,tkob/parrot,youprofit/parrot,tewk/parrot-select,FROGGS/parrot,gagern/parrot,fernandobrito/parrot,gagern/parrot,youprofit/parrot,tewk/parrot-select,fernandobrito/parrot