--- via RT <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> # New Ticket Created by  [EMAIL PROTECTED] 
> # Please include the string:  [perl #27042]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27042 >
> 

> ATTACHMENT part 2 application/octet-stream name=exec.c

>     strcpy( cmd, "/c " );

You need the shell name first, otherwise the shell will think /c is its name
instead of an option.

>     strcat( cmd, string_to_cstring(interpreter, command) );

That's a memory leak. You need to string_cstring_free that.

>     free( cmd );

That should be mem_sys_free

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

Reply via email to