File: 02_cgihandler.patch

package info (click to toggle)
libhtml-mason-perl 1%3A1.58-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,796 kB
  • sloc: perl: 8,618; sh: 49; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Florian Schlichting <fsfs@debian.org>
Date: Sat, 9 Jul 2011 17:10:59 +0200
Subject: [PATCH] mimic mod_perl behaviour in HTML::Mason::CGIHandler
Origin: vendor

--- a/lib/HTML/Mason/CGIHandler.pm
+++ b/lib/HTML/Mason/CGIHandler.pm
@@ -86,6 +86,9 @@ sub _handler {
                 $sent_headers = 1;
             }
 
+            # mimic mod_perl behaviour
+            use bytes;
+
             # We could perhaps install a new, faster out_method here that
             # wouldn't have to keep checking whether headers have been
             # sent and what the $r->method is.  That would require