> You can not pass a NULL pointer to loadlib at the moment, this small hacks
> "converts" an empty string to a NULL pointer to pass it to Parror_dlopen:
It's for core.ops, of course. Here is the cvs diff output:

Index: core.ops
===================================================================
RCS file: /cvs/public/parrot/core.ops,v
retrieving revision 1.287
diff -r1.287 core.ops
4862c4862,4866
<   const char * s = string_to_cstring(interpreter, ($2));
---
>   const char * s = 0;
>
>   if( $2->strlen != 0 ) {
>     s = string_to_cstring(interpreter, ($2));
>   }

cya,
Jens Rieks

Reply via email to