ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection-autotransform
(Generate patch)

Comparing rxvt-unicode/src/perl/selection-autotransform (file contents):
Revision 1.2 by root, Fri Jan 13 01:09:37 2006 UTC vs.
Revision 1.3 by root, Fri Jan 13 04:19:41 2006 UTC

18 warn "running with elevated privileges, ignoring selection-autotransform patterns"; 18 warn "running with elevated privileges, ignoring selection-autotransform patterns";
19 return; 19 return;
20 } 20 }
21 21
22 for (my $idx = 0; defined (my $res = urxvt::untaint $self->x_resource ("selection-autotransform.$idx")); $idx++) { 22 for (my $idx = 0; defined (my $res = urxvt::untaint $self->x_resource ("selection-autotransform.$idx")); $idx++) {
23 warn "<<<$idx:$res>>>\n";#d#
24 my $transform = eval "sub { $res }"; 23 my $transform = eval "sub { $res }";
25 24
26 if ($transform) { 25 if ($transform) {
27 push @{ $self->{transforms} }, $transform; 26 push @{ $self->{transforms} }, $transform;
28 } else { 27 } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines