ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.42 by root, Sun Jan 8 08:43:11 2006 UTC vs.
Revision 1.43 by root, Sun Jan 8 08:49:20 2006 UTC

406 perl_free (perl); 406 perl_free (perl);
407 } 407 }
408} 408}
409 409
410void 410void
411rxvt_perl_interp::init (bool tainted) 411rxvt_perl_interp::init ()
412{ 412{
413 if (!perl) 413 if (!perl)
414 { 414 {
415 char *argv[] = { 415 char *argv[] = {
416 "", 416 "",
417 "-T",
417 "-edo '" LIBDIR "/urxvt.pm' or ($@ and die $@) or exit 1", 418 "-edo '" LIBDIR "/urxvt.pm' or ($@ and die $@) or exit 1",
418 "-T",
419 }; 419 };
420 420
421 perl = perl_alloc (); 421 perl = perl_alloc ();
422 perl_construct (perl); 422 perl_construct (perl);
423 423
424 if (perl_parse (perl, xs_init, 2 + !!tainted, argv, (char **)NULL) 424 if (perl_parse (perl, xs_init, 3, argv, (char **)NULL)
425 || perl_run (perl)) 425 || perl_run (perl))
426 { 426 {
427 rxvt_warn ("unable to initialize perl-interpreter, continuing without.\n"); 427 rxvt_warn ("unable to initialize perl-interpreter, continuing without.\n");
428 428
429 perl_destruct (perl); 429 perl_destruct (perl);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines