[gnutls-dev] typo in gnutls-0.3.92
alexis hildebrandt
afh@syscall.de
Thu Mar 28 09:22:02 2002
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
hello gnutls dev-team,
i was having trouble with mutt, gnutls and one of my imap-servers, so i
decided to upgrade my mutt, libgcrypt and libgnutls. as i tried to compile
gnutls i saw the following error messages:
--- BEGIN MAKE OUTPUT ---
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -O2 -fexpensive-optimizations -fomit-frame-pointer \
-pipe -c gnutls_compress_int.c -Wp,-MD,.deps/gnutls_compress_int.TPlo -fPIC -DPIC -o .libs/gnutls_compress_int.lo
gnutls_compress_int.c: In function `gnutls_comp_deinit':
gnutls_compress_int.c:88: warning: unreachable code at beginning of switch statement
gnutls_compress_int.c:99: parse error before `int'
gnutls_compress_int.c:142: warning: `return' with a value, in function returning void
gnutls_compress_int.c:145: `compressed_size' undeclared (first use in this function)
gnutls_compress_int.c:145: (Each undeclared identifier is reported only once
gnutls_compress_int.c:145: for each function it appears in.)
gnutls_compress_int.c:145: `max_comp_size' undeclared (first use in this function)
gnutls_compress_int.c:146: `compressed' undeclared (first use in this function)
gnutls_compress_int.c:147: warning: `return' with a value, in function returning void
gnutls_compress_int.c:150: warning: `return' with a value, in function returning void
make[2]: *** [gnutls_compress_int.lo] Error 1
make[2]: Leaving directory `/export/home/lxs/tmp/gnutls-0.3.92/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/lxs/tmp/gnutls-0.3.92'
make: *** [all] Error 2
--- END MAKE OUTPUT ---
the problem was solved quickly and you may have already fixed it, but in
case you haven't, i attached a tiny patch to this mail.
btw my problems with mutt & gnutls were solved by the upgrade.
pls cc to afh@syscall.de, since i'm not subscribed to any of the gnutls
mailinglists, thanx.
regards
a. hildebrandt
--
"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning."
(Johannes Verelst)
--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gnutls-0.3.92.patch"
--- gnutls-0.3.92/lib/gnutls_compress_int.c Thu Mar 21 08:49:40 2002
+++ gnutls-0.3.92/lib/gnutls_compress_int.c Wed Mar 27 13:33:41 2002
@@ -75,8 +75,8 @@
int err;
if (handle!=NULL) {
- switch( handle->algo) {
#ifdef HAVE_LIBZ
+ switch( handle->algo) {
case GNUTLS_COMP_ZLIB:
if (d)
err = inflateEnd( handle->handle);
--17pEHd4RhPHOinZp--