Yo,

Here's a patch that makes sure a couple of filehandles are properly localized in ExtUtils::Install. No, I haven't gone through all the code, I just noticed these two.

-Ken

===================================================================
RCS file: /home/schwern/cvs/ExtUtils-MakeMaker/lib/ExtUtils/Install.pm,v
retrieving revision 1.12
diff -u -r1.12 Install.pm
--- lib/ExtUtils/Install.pm     22 Dec 2002 02:06:27 -0000      1.12
+++ lib/ExtUtils/Install.pm     6 Mar 2003 22:45:31 -0000
@@ -363,6 +363,7 @@

 sub run_filter {
     my ($cmd, $src, $dest) = @_;
+    local (*SRC, *CMD);
     open(CMD, "|$cmd >$dest") || die "Cannot fork: $!";
     open(SRC, $src)           || die "Cannot open $src: $!";
     my $buf;



Reply via email to