You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by ge...@apache.org on 2007/10/05 21:02:59 UTC

svn commit: r582373 - /perl/Apache-Test/trunk/lib/Apache/TestConfigC.pm

Author: geoff
Date: Fri Oct  5 12:02:59 2007
New Revision: 582373

URL: http://svn.apache.org/viewvc?rev=582373&view=rev
Log:
add generation warning to generated Makefiles

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestConfigC.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestConfigC.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestConfigC.pm?rev=582373&r1=582372&r2=582373&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfigC.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfigC.pm Fri Oct  5 12:02:59 2007
@@ -126,8 +126,7 @@
     }
 
     my $file = catfile $self->{cmodules_dir}, 'Makefile';
-    my $fh = Symbol::gensym();
-    open $fh, ">$file" or die "open $file: $!";
+    my $fh = $self->genfile($file);
 
     print $fh $self->cmodules_makefile_vars;
 
@@ -176,8 +175,7 @@
 
     my $lib = $self->cmodules_build_so($name);
 
-    my $fh = Symbol::gensym();
-    open $fh, ">$makefile" or die "open $makefile: $!";
+    my $fh = $self->genfile($makefile);
 
     print $fh <<EOF;
 APXS=$self->{APXS}