develooper Front page | perl.perl6.internals | Postings from September 2005

Re: loadlib and libraries with '.' in the name

Thread Previous | Thread Next
Leopold Toetsch
September 24, 2005 04:59
Re: loadlib and libraries with '.' in the name
Message ID:

On Sep 24, 2005, at 6:36, Ross McFarland wrote:

> On Sep 22, 2005, at 10:51 PM, Ross McFarland wrote:
>> i was playing around with NCI stuff tonight and ran across a problem 
>> in loadlib. the following code does not work:
> for those of you interested:

This patch seems to simplify things. Two remarks:
- use mem_sys_allocate() instead of malloc - it deals w out-of-mem
- I don't understand the extra check:
   +    if (path)
   +        goto done;

> i'll work on porting the pir to a .t test at some point if that would 
> be desirable.

Tests are very welcome albeit a bit non-trivial as platforms and 
availability of libs most be taken into account.
> later,
> -rm


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About