File: 02_cgihandler.patch

package info (click to toggle)
libhtml-mason-perl 1%3A1.44-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,112 kB
  • ctags: 1,651
  • sloc: perl: 17,877; sh: 187; makefile: 12
file content (14 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: libhtml-mason-perl-1.35/lib/HTML/Mason/CGIHandler.pm
===================================================================
--- libhtml-mason-perl-1.35.orig/lib/HTML/Mason/CGIHandler.pm	2007-03-31 08:09:56.000000000 -0400
+++ libhtml-mason-perl-1.35/lib/HTML/Mason/CGIHandler.pm	2007-03-31 08:10:05.000000000 -0400
@@ -99,6 +99,9 @@
                 $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