Your message dated Sun, 06 Apr 2008 13:32:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#162239: fixed in cgilib 0.6-1 has caused the Debian Bug report #162239, regarding cgilib: [wish] const char cgiSetType to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 162239: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=162239 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: cgilib Version: 0.5-4 Severity: wishlist Tags: patch Hi, It seems to me that cgiSetType and cgiSetHeader could take const char * instead of char *. (I'm a slave to gcc -Wwrite-strings). Please apply the following not-quite-a-patch, if you find the time. thanks, -neil diff -u cgilib-0.5/cgi.h cgilib-new/cgi.h --- cgilib-0.5/cgi.h 1999-08-20 14:14:07.000000000 -0700 +++ cgilib-new/cgi.h 2002-09-24 20:42:07.000000000 -0700 @@ -42,13 +42,13 @@ * * Sets additional HTTP header lines to be printed with cgiHeader */ -int cgiSetHeader (char *name, char *value); +int cgiSetHeader (const char *name, const char *value); /* cgiSetType * * Sets result type for HTTP */ -int cgiSetType (char *type); +int cgiSetType (const char *type); /* cgiHeader * zarathustra:~/src> diff -u cgilib-0.5/cgi.c cgilib-new/cgi.c --- cgilib-0.5/cgi.c 1999-08-20 14:14:07.000000000 -0700 +++ cgilib-new/cgi.c 2002-09-24 20:42:37.000000000 -0700 @@ -41,9 +41,10 @@ extern s_cookie **cgiReadCookies(); -int cgiSetHeader (char *name, char *value) +int cgiSetHeader (const char *name, const char *value) { - char *cp, *vp, *pivot; + const char *cp, *vp; + char *pivot; int len; if (!name || !strlen (name) || !value || !strlen (value)) @@ -78,10 +79,10 @@ return 1; } -int cgiSetType (char *type) +int cgiSetType (const char *type) { int len; - char *cp; + const char *cp; if (!type || !strlen (type)) return 0; -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux zarathustra 2.4.19-686 #1 Thu Aug 8 21:30:09 EST 2002 i686 Locale: LANG=C, LC_CTYPE=C
--- End Message ---
--- Begin Message ---Source: cgilib Source-Version: 0.6-1 We believe that the bug you reported is fixed in the latest version of cgilib, which is due to be installed in the Debian FTP archive: cgilib_0.6-1.diff.gz to pool/main/c/cgilib/cgilib_0.6-1.diff.gz cgilib_0.6-1.dsc to pool/main/c/cgilib/cgilib_0.6-1.dsc cgilib_0.6-1_i386.deb to pool/main/c/cgilib/cgilib_0.6-1_i386.deb cgilib_0.6.orig.tar.gz to pool/main/c/cgilib/cgilib_0.6.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Martin Schulze <[EMAIL PROTECTED]> (supplier of updated cgilib package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 06 Apr 2008 15:16:19 +0200 Source: cgilib Binary: cgilib Architecture: source i386 Version: 0.6-1 Distribution: unstable Urgency: low Maintainer: Martin Schulze <[EMAIL PROTECTED]> Changed-By: Martin Schulze <[EMAIL PROTECTED]> Description: cgilib - Simple CGI Library Closes: 162239 282334 291753 336524 Changes: cgilib (0.6-1) unstable; urgency=low . * New upstream version . Declare some variables const (closes: Bug#162239) . Add CR to Content-type output (closes: Bug#282334) . Properly terminate buffer (closes: Bug#291753) . Decode CGI variable names (closes: Bug#336524) * Bumped Standards-Version * Enhanced copyright file Files: 127a107db7bda6b7bbe460c35a1ea61b 513 web optional cgilib_0.6-1.dsc 392f00a4ce90426606efcb6ce705fd75 25268 web optional cgilib_0.6.orig.tar.gz bfd02601d29335bc20a213c6700d42dd 5075 web optional cgilib_0.6-1.diff.gz 64823380344895b4d3d4667b7efe1fcd 37766 web optional cgilib_0.6-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH+M+mW5ql+IAeqTIRAiI4AKChS2hQi+27RNVFPrLoEFnDkai8JQCghkdB yoMxVh6klTHtaFkn23ExuDI= =TKhj -----END PGP SIGNATURE-----
--- End Message ---

