(There's a good chance this bug doesn't affect this version of the code,
since while $config{plugin} is clobbered, it's not used further.)
unshift @INC, possibly_foolish_untaint($config{libdir});
}
unshift @INC, possibly_foolish_untaint($config{libdir});
}
- loadplugin($_) foreach @{$config{plugin}};
+ foreach my $plugin (@{$config{plugin}}) {
+ loadplugin($plugin);
+ }
run_hooks(getopt => sub { shift->() });
if (grep /^-/, @ARGV) {
run_hooks(getopt => sub { shift->() });
if (grep /^-/, @ARGV) {
* edittemplate: Don't wipe out edits on preview.
* map: The fix for #449285 was buggy and broke display of parents in certian
circumstances.
* edittemplate: Don't wipe out edits on preview.
* map: The fix for #449285 was buggy and broke display of parents in certian
circumstances.
+ * Work around perl $_ scoping nonsense that caused breakage when loading
+ external plugins.
-- Josh Triplett <josh@freedesktop.org> Wed, 09 Jul 2008 21:30:33 -0700
-- Josh Triplett <josh@freedesktop.org> Wed, 09 Jul 2008 21:30:33 -0700