Author: joes
Date: Sun Oct 2 06:56:37 2005
New Revision: 293116
URL: http://svn.apache.org/viewcvs?rev=293116&view=rev
Log:
fix freeze()
Modified:
httpd/apreq/trunk/CHANGES
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pm
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
Modified: httpd/apreq/trunk/CHANGES
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/CHANGES?rev=293116&r1=293115&r2=293116&view=diff
==============================================================================
--- httpd/apreq/trunk/CHANGES (original)
+++ httpd/apreq/trunk/CHANGES Sun Oct 2 06:56:37 2005
@@ -5,6 +5,9 @@
@section v2_07 Changes with libapreq2-2.07
+- Perl API [joes]
+ APR::Request::Cookie::freeze() isn't a class method.
+
- C API [joes]
Fix off-by-one bug in the continuation-lines portion of the
header parser.
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pm
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pm?rev=293116&r1=293115&r2=293116&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pm
(original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pm Sun Oct
2 06:56:37 2005
@@ -20,7 +20,6 @@
sub freeze { return $_[1] }
sub thaw {
my $obj = shift;
- return shift if @_;
return "$obj";
}
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod?rev=293116&r1=293115&r2=293116&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
(original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod Sun Oct
2 06:56:37 2005
@@ -145,10 +145,10 @@
=head2 thaw
- APR::Request::Cookie->thaw($value)
+ $cookie->thaw()
-Class method that reverses C<< freeze() >>;
-here it returns $value unmodified.
+Reverses C<< freeze() >>; here it simply returns
+$cookie->value since freeze() is a noop.