Character in 'c' format wrapped in pack at
/srv/www/cgi-bin/cvsweb.cgi line 4463. + fix
walter harms
wharms at bfs.de
Wed Nov 23 14:01:52 UTC 2011
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
More information about the freebsd-cvsweb
mailing list