Skip to content

Commit

Permalink
Version 2.46
Browse files Browse the repository at this point in the history
  • Loading branch information
lstein committed Dec 6, 1998
1 parent d763d9a commit 096ab7b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 15 deletions.
12 changes: 10 additions & 2 deletions ANNOUNCE
@@ -1,6 +1,8 @@
CGI.pm version 2.45 is now available for your fun and edification.
CGI.pm version 2.46 is now available for your fun and edification.
This version includes the following bug fixes and features:

In 2.45:

1. Fixed leaking file descriptor during uploads (thanks to Gerald
Richter and Doug MacEachern for pointing this one out.)

Expand All @@ -21,7 +23,13 @@ quotes.
You don't need them any more. Trust me!

7. Fixed CGI::Carp to run better under mod_perl (somewhat -- it will never
be perfect).
be perfect because some faults are untrappable).

In 2.46:

8. Fixed qw(-compile :all) problems.

9. Fixed failure of mod_perl "include" tests.

Lincoln Stein

Expand Down
16 changes: 11 additions & 5 deletions CGI.pm
Expand Up @@ -17,8 +17,8 @@ require 5.004;
# The most recent version and complete docs are available at:
# http://stein.cshl.org/WWW/software/CGI/

$CGI::revision = '$Id: CGI.pm,v 1.4 1998-11-26 11:01:15 lstein Exp $';
$CGI::VERSION='2.45';
$CGI::revision = '$Id: CGI.pm,v 1.5 1998-12-06 10:19:48 lstein Exp $';
$CGI::VERSION='2.46';

# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
Expand Down Expand Up @@ -121,8 +121,9 @@ $SL = {
$IIS++ if defined($ENV{'SERVER_SOFTWARE'}) && $ENV{'SERVER_SOFTWARE'}=~/IIS/;

# Turn on special checking for Doug MacEachern's modperl
if (defined($ENV{'GATEWAY_INTERFACE'}) &&
($MOD_PERL = exists $ENV{'MOD_PERL'}))
if (exists $ENV{'GATEWAY_INTERFACE'}
&&
($MOD_PERL = $ENV{'GATEWAY_INTERFACE'} =~ /^CGI-Perl/))
{
$| = 1;
require Apache;
Expand Down Expand Up @@ -162,7 +163,7 @@ if ($needs_binmode) {
':form'=>[qw/textfield textarea filefield password_field hidden checkbox checkbox_group
submit reset defaults radio_group popup_menu button autoEscape
scrolling_list image_button start_form end_form startform endform
start_multipart_form isindex tmpFileName uploadInfo URL_ENCODED MULTIPART/],
start_multipart_form end_multipart_form isindex tmpFileName uploadInfo URL_ENCODED MULTIPART/],
':cgi'=>[qw/param path_info path_translated url self_url script_name cookie Dump
raw_cookie request_method query_string Accept user_agent remote_host
remote_addr referer server_name server_software server_port server_protocol
Expand Down Expand Up @@ -1429,6 +1430,11 @@ sub start_form {
}
END_OF_FUNC
'end_multipart_form' => <<'END_OF_FUNC',
sub end_multipart_form {
&endform;
}
END_OF_FUNC
#### Method: start_multipart_form
# synonym for startform
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST
@@ -1,10 +1,10 @@
ANNOUNCE
CGI.pm
CGI/Carp.pm
CGI/Cookie.pm
CGI/Fast.pm
CGI/Pretty.pm
CGI/Push.pm
CGI/Cookie.pm
MANIFEST
Makefile.PL
README
Expand Down
4 changes: 2 additions & 2 deletions README
@@ -1,6 +1,6 @@
WHAT IS THIS?

This is CGI.pm 2.45, an easy-to-use Perl5 library for writing World
This is CGI.pm 2.46, an easy-to-use Perl5 library for writing World
Wide Web CGI scripts.

HOW DO I INSTALL IT?
Expand Down Expand Up @@ -63,7 +63,7 @@ May 1998. If you like CGI.pm, you'll love this book.

IMPORTANT NOTES:

Versions 2.44 and 2.45 introduce two API changes that will affect
Versions 2.44-2.46 introduce two API changes that will affect
users of previous versions:

1) The accept() function has been renamed Accept() to avoid conflicting with
Expand Down
16 changes: 11 additions & 5 deletions cgi_docs.html
Expand Up @@ -5,7 +5,7 @@
<BODY bgcolor="#FFFFFF">
<H1><IMG SRC="examples/dna.small.gif" ALT="[logo]">
CGI.pm - a Perl5 CGI Library</H1>
Version 2.45, 11/26/98, L. Stein
Version 2.46, 11/26/98, L. Stein
<p>

<H2>Abstract</H2> This perl 5 library uses objects to create Web
Expand Down Expand Up @@ -109,7 +109,7 @@ <H2>Contents</H2>
<LI><A HREF="#book">The CGI.pm Book</A>
<LI><A HREF="#y2000">CGI.pm and the Year 2000 Problem</A>
<LI><A HREF="#bugs">Bug Reporting and Support</A>
<LI><A HREF="#new">What's new in version 2.45?</A>
<LI><A HREF="#new">What's new in version 2.46?</A>
</MENU>

<HR>
Expand All @@ -119,7 +119,7 @@ <H2>Downloading & Installation</H2>
<ul>
<li><STRONG><A HREF="CGI.pm.tar.gz">Download gzip tar archive (Unix)</A></STRONG>
<li><STRONG><A HREF="CGI.pm.zip">Download pkzip archive (Windows)</A></STRONG>
<li><STRONG><A HREF="CGI.pm.sit">Download 2.45 sit archive (Macintosh)</A></STRONG>
<li><STRONG><A HREF="CGI.pm.sit">Download sit archive (Macintosh)</A></STRONG>
<li><strong><A HREF="CGI.pm">Download just the CGI module (uncompressed)</a></strong>
</ul>

Expand Down Expand Up @@ -173,7 +173,7 @@ <H2>Downloading & Installation</H2>
(commands are given in MS-DOS/Windows form):

<pre>
&gt; cd CGI.pm-2.45
&gt; cd CGI.pm-2.46
&gt; copy CGI.pm C:\Perl\lib
&gt; mkdir C:\Perl\lib\CGI
&gt; copy CGI\*.pm C:\Perl\lib\CGI
Expand Down Expand Up @@ -4420,6 +4420,12 @@ <H2><a name="bugs">Bug Reports</a></H2>
<HR>

<H2><A NAME="new">Revision History</A></H2>
<h3>Version 2.46</h3>
<ol>
<li>Fix for failure of the "include" tests under mod_perl
<li>Added end_multipart_form to prevent failures during qw(-compile :all)
</ol>

<h3>Version 2.45</h3>
<ol>
<li>Multiple small documentation fixes
Expand Down Expand Up @@ -5052,6 +5058,6 @@ <H3>Bug fixes</H3>
<a href="http://www.cshl.org/">Cold Spring Harbor Laboratory</a></ADDRESS>
<P>
<!-- hhmts start -->
Last modified: Thu Nov 26 11:55:32 MET 1998
Last modified: Sun Dec 6 10:18:51 GMT 1998
<!-- hhmts end -->
</BODY> </HTML>

0 comments on commit 096ab7b

Please sign in to comment.