develooper Front page | perl.perl6.internals | Postings from August 2008

[perl #58438] [PATCH] nci can't pass NULL string arguments

Thread Previous | Thread Next
From:
NotFound
Date:
August 29, 2008 05:53
Subject:
[perl #58438] [PATCH] nci can't pass NULL string arguments
Message ID:
rt-3.6.HEAD-29759-1219957107-1000.58438-72-0@perl.org
# New Ticket Created by  NotFound 
# Please include the string:  [perl #58438]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58438 >


I was doing a simple test of NCI calls with the xlib function
XDisplayName, and found that nci can't handle a NULL string argument.
Passing a NULL Parrot String segfaults.

The attached patch passes a NULL char * when a NULL Parrot String is
used. Don't know if this is the desired behaviour, I expect comments.

-- 
Salu2


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About