X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fdocs%2FCGI-modules-2.76-patch.txt;h=9729623fa52731325e2a0fcef9e21d6d4a28b8fb;hb=bb3073b629d2b5bf1903cc34a06bab8bed068965;hp=55b50bbbe9ab03f55f5aa16692ffe12e553c0a45;hpb=4138265ebc65d27468bfb9674cf99a53806ef905;p=freeside.git diff --git a/htdocs/docs/CGI-modules-2.76-patch.txt b/htdocs/docs/CGI-modules-2.76-patch.txt index 55b50bbbe..9729623fa 100755 --- a/htdocs/docs/CGI-modules-2.76-patch.txt +++ b/htdocs/docs/CGI-modules-2.76-patch.txt @@ -1,23 +1,39 @@ -ivan@rootwood:~/src/CGI-modules-2.76/CGI$ diff -c Base.pm Base.pm.orig -*** Base.pm Sat Jul 18 00:33:21 1998 ---- Base.pm.orig Sat Jul 18 00:06:12 1998 +# This is a patch for Base.pm.old to update it to Base.pm. +# It was generated by makepatch 1.93 (2.0BETA) on Tue Nov 3 21:44:39 1998. +# +# To apply this patch, chdir to source directory Base.pm.old and enter +# +# patch -p1 -N < + +exit +# End of preamble. + +# Patch input follows. +__DATA__ +Index: Base.pm +Prereq: 2.76 +####### => +*** Base.pm.old Wed Oct 14 00:24:12 1998 +--- Base.pm Tue Nov 3 21:38:49 1998 *************** *** 938,945 **** my $orig_uri = $self->get_uri; $self->log("Redirecting $CGI::Base::REQUEST_METHOD $orig_uri to $to_uri") - if $Debug; -! my $msg = ($perm) ? StatusHdr(301,"Moved Permanently") -! : StatusHdr(302,"Moved Temporarily"); + if $Debug; +! my $msg = ($perm) ? ServerHdr(301,"Moved Permanently") +! : ServerHdr(302,"Moved Temporarily"); my $hdrs = SendHeaders($msg, LocationHdr($to_uri)); $self->log($hdrs); } --- 938,945 ---- my $orig_uri = $self->get_uri; $self->log("Redirecting $CGI::Base::REQUEST_METHOD $orig_uri to $to_uri") - if $Debug; -! my $msg = ($perm) ? ServerHdr(301,"Moved Permanently") -! : ServerHdr(302,"Moved Temporarily"); + if $Debug; +! my $msg = ($perm) ? StatusHdr(301,"Moved Permanently") +! : StatusHdr(302,"Moved Temporarily"); my $hdrs = SendHeaders($msg, LocationHdr($to_uri)); $self->log($hdrs); } + +End of Patch.