git://git.jankratochvil.net
/
MyWeb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe50af8
)
Fixed occasional &footer output where it should not have been.
author
short
<>
Wed, 21 Sep 2005 04:57:49 +0000
(
04:57
+0000)
committer
short
<>
Wed, 21 Sep 2005 04:57:49 +0000
(
04:57
+0000)
Web.pm
patch
|
blob
|
history
diff --git
a/Web.pm
b/Web.pm
index
3661bd4
..
5bc35e6
100644
(file)
--- a/
Web.pm
+++ b/
Web.pm
@@
-492,6
+492,7
@@
sub footer()
{
cluck 'Explicit &footer call is deprecated' if !$W->{"_exit_ran"};
exit if $W->{"footer_passed"}++; # deadlock prevention:
+ exit if $W->{"header_only"};
Wprint vskip if $W->{"footer_delimit"};
&{$_}() for reverse @{$W->{"footing_delimit_sub_push"}};
@@
-958,6
+959,7
@@
sub cache_start()
}
last if OK==$status;
$W->{"r"}->status($status);
+ $W->{"header_only"}=1; # Inhibit &footer output.
exit;
die "NOTREACHED";
}