# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #28449]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=28449 >


This is most assuredly an incomplete patch - but since src/dynext.c is 
searching in multiple locations for files on behalf of the op 
"loadlib", you get multiple warnings to stderr as a matter of course 
when running loadlib. Ala:

bash-2.05a$ ./parrot dynclasses/dynfoo.pasm
open result was Access (5) for filename [foo]
open result was Access (5) for filename [foo.dylib]
open result was Access (5) for filename [foo]
open result was Access (5) for filename [foo.dylib]
ok 1
54
ok 2
42

With the patch, you just get:

bash-2.05a$ ./parrot dynclasses/dynfoo.pasm
ok 1
54
ok 2
42

I say the patch is incomplete, because I'm sure this information should 
be tracked somehow. Also, a minor typo fixed. I keep the squawk for the 
unknown error, since we... well, didn't know about it.

Attachment: darwin_dl.patch
Description: Binary data


--
Will "Coke" Coleda                                    will at coleda 
dot com

Reply via email to