Date: Wed, 23 Nov 2011 14:44:23 +0100 From: walter harms <wharms@bfs.de> To: freebsd-cvsweb@FreeBSD.org Subject: Character in 'c' format wrapped in pack at /srv/www/cgi-bin/cvsweb.cgi line 4463. + fix Message-ID: <4ECCF8B7.8030600@bfs.de>
next in thread | raw e-mail | index | archive | help
hi list,
i am trying to upüdate my ancient webcvs.
In the lastest version (downloaded from cvs repo)
cvsweb.cgi:
$FreeBSD: www/en/cgi/cvsweb.cgi,v 1.93 2010/11/13 16:37:18 simon Exp $
$Id: cvsweb.cgi,v 1.112 2001/07/24 13:03:16 hzeller Exp $
$Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $
$FreeBSD: www/en/cgi/cvsweb.cgi,v 1.93 2010/11/13 16:37:18 simon Exp $
$scriptwhere: the URI escaped $
the following error occurs:
Character in 'c' format wrapped in pack at /srv/www/cgi-bin/cvsweb.cgi line 4463.
the reason is that in that line is "c10" instead of "C10" (capital C)
my ($header) = pack("C10",
MAGIC1, MAGIC2, Compress::Zlib::Z_DEFLATED(),
0, 0, 0, 0, 0, 0, OSCODE);
it would be nice if someone could fix that longstanding bug. (fill my error log).
you sould also update the tar.gz at http://people.freebsd.org/~scop/cvsweb/
re,
wh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ECCF8B7.8030600>
