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.54 by root, Wed Jan 11 00:59:58 2006 UTC vs.
Revision 1.56 by root, Thu Jan 12 00:35:39 2006 UTC

411void 411void
412rxvt_perl_interp::init () 412rxvt_perl_interp::init ()
413{ 413{
414 if (!perl) 414 if (!perl)
415 { 415 {
416 temp_environ temp_environ(rxvt_environ);
417
416 char *argv[] = { 418 char *argv[] = {
417 "", 419 "",
418 "-T", 420 "-T",
419 "-edo '" LIBDIR "/urxvt.pm' or ($@ and die $@) or exit 1", 421 "-edo '" LIBDIR "/urxvt.pm' or ($@ and die $@) or exit 1",
420 }; 422 };
479 } 481 }
480 482
481 if (!should_invoke [htype]) 483 if (!should_invoke [htype])
482 return false; 484 return false;
483 } 485 }
486
487 temp_environ temp_environ(rxvt_environ);
484 488
485 dSP; 489 dSP;
486 va_list ap; 490 va_list ap;
487 491
488 va_start (ap, htype); 492 va_start (ap, htype);
1276 else 1280 else
1277 THIS->rs [index] = 0; 1281 THIS->rs [index] = 0;
1278 } 1282 }
1279} 1283}
1280 1284
1285const char *
1286rxvt_term::x_resource (const char *name)
1287 CLEANUP:
1288 SvTAINTED_on (ST (0));
1289
1281bool 1290bool
1282rxvt_term::option (U32 optval, int set = -1) 1291rxvt_term::option (U32 optval, int set = -1)
1283 CODE: 1292 CODE:
1284{ 1293{
1285 RETVAL = THIS->options & optval; 1294 RETVAL = THIS->options & optval;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines