Package: cvsweb
Version: 3.0.6-3
Tags: patch
Requesting pages compressed with Zlib results in the following message on
STDERR:
[Mon Jun 02 21:02:07 2008] [error] [client 79.204.96.23] Character in 'c'
format wrapped in pack at /usr/lib/cgi-bin/cvsweb line 4462.
This is fixed with the attached patch.
Regards,
Joey
--
Open source is important from a technical angle. -- Linus Torvalds
Please always Cc to me when replying to me on the lists.
--- /tmp/cvsweb/cvsweb 2008-06-02 20:10:01.000000000 +0200
+++ /usr/lib/cgi-bin/cvsweb 2008-06-02 21:02:32.000000000 +0200
@@ -4458,7 +4459,7 @@ sub TIEHANDLE
crc => 0,
len => 0,
};
- my ($header) = pack("c10",
+ my ($header) = pack("C10",
MAGIC1, MAGIC2, Compress::Zlib::Z_DEFLATED(),
0, 0, 0, 0, 0, 0, OSCODE);
print {$o->{handle}} $header;