stas 2003/08/18 10:51:53
Modified: t/net/perl cgi.pl.PL
. Changes
Log:
On Win32 the uploaded file wasn't cleaned up (weither it's a bug in
CGI.pm or not), make sure we don't leave any dropped files around
Submitted by: Steve Hay <[EMAIL PROTECTED]>
Revision Changes Path
1.5 +1 -0 modperl/t/net/perl/cgi.pl.PL
Index: cgi.pl.PL
===================================================================
RCS file: /home/cvs/modperl/t/net/perl/cgi.pl.PL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cgi.pl.PL 19 Jun 2002 16:31:52 -0000 1.4
+++ cgi.pl.PL 18 Aug 2003 17:51:53 -0000 1.5
@@ -19,4 +19,5 @@
local $/;
$content = <$httpupload>;
$r->print( "ok $content\n" );
+ close $httpupload; # needed on win32?
}
1.676 +4 -0 modperl/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl/Changes,v
retrieving revision 1.675
retrieving revision 1.676
diff -u -r1.675 -r1.676
--- Changes 10 Jul 2003 17:07:18 -0000 1.675
+++ Changes 18 Aug 2003 17:51:53 -0000 1.676
@@ -10,6 +10,10 @@
=item 1.28_01-dev
+On Win32 the uploaded file wasn't cleaned up (weither it's a bug in
+CGI.pm or not), make sure we don't leave any dropped files around
+[Steve Hay <[EMAIL PROTECTED]>]
+
For Win32, keep drive letters in mod_perl.dsp to fix bug, reported
by DH <[EMAIL PROTECTED]>, when compiling mod_perl in
cases where Apache and Perl are on different drives [Randy Kobes].