Your message dated Wed, 28 Dec 2005 21:11:35 -0800
with message-id <[EMAIL PROTECTED]>
and subject line reopened bugs
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Oct 2003 08:25:56 +0000
>From [EMAIL PROTECTED] Sun Oct 26 02:25:38 2003
Return-path: <[EMAIL PROTECTED]>
Received: from kirche-wolfsburg.de (mail.kaenguruh-edv.de) [217.160.111.152] 
        by master.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1ADgDQ-0002aI-00; Sun, 26 Oct 2003 02:25:36 -0600
Received: (qmail 15937 invoked from network); 26 Oct 2003 08:25:35 -0000
Received: from p5089ac24.dip.t-dialin.net (HELO schlafzimmer.roland-illig.de) 
([EMAIL PROTECTED])
  by kirche-wolfsburg.de with SMTP; 26 Oct 2003 08:25:35 -0000
Received: from roland by schlafzimmer.roland-illig.de with local (Exim 3.36 #1 
(Debian))
        id 1ADgGp-0003kL-00; Sun, 26 Oct 2003 09:29:07 +0100
Content-Type: multipart/mixed; boundary="===============1904195066=="
MIME-Version: 1.0
From: Roland Illig <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: slocate: [patch] added stricter checking for gcc and found an error
X-Mailer: reportbug 2.35
Date: Sun, 26 Oct 2003 09:29:06 +0100
Message-Id: <[EMAIL PROTECTED]>
Sender: Roland Illig <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-7.9 required=4.0
        tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF
        autolearn=ham version=2.53-bugs.debian.org_2003_10_21
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_21 
(1.174.2.15-2003-03-30-exp)

This is a multi-part MIME message sent by reportbug.

--===============1904195066==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: slocate
Version: 2.7-1
Severity: minor
Tags: patch

I checked whether slocate also builds with "gcc -W -Wall
-Wstrict-prototyes", and it doesn't cleanly. I fixed the source so that
it does. Doing this, I found a nonvisible bug that has no effects at
all, but could confuse programmers. It's the last change in the patch.

Roland

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux schlafzimmer 2.4.21-3-k7 #1 Sun Jul 20 19:23:36 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to [EMAIL PROTECTED])

Versions of packages slocate depends on:
ii  adduser                       3.51       Add and remove users and groups
ii  dpkg                          1.10.15    Package maintenance system for Deb
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an

-- no debconf information


--===============1904195066==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="slocate-2.7-gcc-warnings.patch"

diff -urN slocate-2.7.old/configure.in slocate-2.7/configure.in
--- slocate-2.7.old/configure.in        2003-01-25 00:06:14.000000000 +0100
+++ slocate-2.7/configure.in    2003-10-26 09:14:54.000000000 +0100
@@ -53,4 +53,9 @@
 AC_FUNC_FNMATCH
 AC_CHECK_FUNCS(getcwd regcomp strdup strerror strstr)
 AC_PROG_INSTALL
+
+if test x"$GCC" = xyes; then
+  CFLAGS="$CFLAGS -W -Wall -Wstrict-prototypes"
+fi
+
 AC_OUTPUT(Makefile)
diff -urN slocate-2.7.old/link.h slocate-2.7/link.h
--- slocate-2.7.old/link.h      2000-12-30 08:52:36.000000000 +0100
+++ slocate-2.7/link.h  2003-10-26 09:16:11.000000000 +0100
@@ -22,7 +22,7 @@
 } dir_item;
 
 
-extern dir_item *init_2D_list();
+extern dir_item *init_2D_list(void);
 extern dir_item *add_right(dir_item *listptr);
 extern dir_item *add_down(dir_item *listptr);
 extern dir_item *free_right(dir_item *listptr);
diff -urN slocate-2.7.old/main.c slocate-2.7/main.c
--- slocate-2.7.old/main.c      2003-02-18 00:51:25.000000000 +0100
+++ slocate-2.7/main.c  2003-10-26 09:18:53.000000000 +0100
@@ -176,9 +176,9 @@
 /* Usage */
 
 void
-    usage() 
+    usage(void)
 {
-       int i;
+       size_t i;
        printf("%s\n"
               "Copyright (c) 1999, 2000, 2001 Kevin Lindsay & Netnation 
Communications Inc. &\n"
               "James A. Woods <[EMAIL PROTECTED]>\n\n"
@@ -453,7 +453,7 @@
 /* Get the GID for group slocate */
 
 unsigned short
-    get_gid()
+    get_gid(void)
 {
        unsigned short GGID=SLOC_GID;
        struct group *grpres;
@@ -768,7 +768,7 @@
 /* Parse updatedb.conf file */
 
 void
-    parse_updatedb_conf()
+    parse_updatedb_conf(void)
 {
        char *fbuf;
        char *head_ptr;
@@ -1369,7 +1369,6 @@
        int ROOTDIR=0;   
        char *spec_dir=NULL;
        char *database = NULL;
-       int i=0;
        int o_OPT_READY = 0;
        char *regexp_opt = NULL;
 
@@ -1501,7 +1500,8 @@
                        regexp_opt = parse_dash(optarg);
                        break;
                 /* Limit the amount of search results */
-                case 'n':
+                case 'n': {
+                       size_t i;
                        for (i=0; i < strlen(optarg); i+=1) {
                                if (!isdigit(optarg[i])) {
                                        fprintf(stderr,"%s: ERROR: Invalid 
argument for option -n\n",progname);
@@ -1509,6 +1509,7 @@
                                }
                        }
                        max_queries = atoi(optarg);
+                       }
                        break;
                 /* Make search case insensitive */
                 case 'i':
@@ -1529,7 +1530,7 @@
            parse_decode_path(SLOCATEDB);
 
        /* Get the 'slocate' group GID */
-       SLOC_GID = get_gid(GRPFILE);
+       SLOC_GID = get_gid();
        
        
        /* if the -U option has been used, start to create the database at 
specified path */

--===============1904195066==--

---------------------------------------
Received: (at 217608-done) by bugs.debian.org; 29 Dec 2005 05:10:52 +0000
>From [EMAIL PROTECTED] Wed Dec 28 21:10:52 2005
Return-path: <[EMAIL PROTECTED]>
Received: from s01060008c72b258d.vf.shawcable.net
        ([70.68.255.20] helo=trakker.trakker.ca ident=mail)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Erq3w-0004cK-Ho; Wed, 28 Dec 2005 21:10:52 -0800
Received: from klindsay by trakker.trakker.ca with local (Exim 3.36 #1 (Debian))
        id 1Erq4d-0002Qg-00; Wed, 28 Dec 2005 21:11:35 -0800
Date: Wed, 28 Dec 2005 21:11:35 -0800
From: Kevin Lindsay <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED]
Cc: Bastian Blank <[EMAIL PROTECTED]>
Subject: Re: reopened bugs
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.11
Sender: "Kevin Lindsay,,," <[EMAIL PROTECTED]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3


--UPT3ojh+0CqEDtpF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

The latest upload is a complete rewrite and redesign of the version on which
this bug was reported. I have not been able to reproduce this bug with this
version.

Kevin-

On Sat, Dec 24, 2005 at 01:43:26PM +0100, Bastian Blank wrote:

> reopen 300760
> reopen 159235
> reopen 300778
> reopen 338652
> reopen 217608
> reopen 324951
> reopen 266530
> reopen 271695
> reopen 272131
> reopen 229198
> thanks
>=20
> This bugs was closed without solution:
>=20
> | * Closes: #300760, #159235, #300778, #338652, #217608, #324951, #266530
> | * Closes: #271695, #272131
> | * Closes: #229198
>=20
> Bastian
>=20
--
Kevin Lindsay <[EMAIL PROTECTED]>
PGP Key Id:   746C51F4

--UPT3ojh+0CqEDtpF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDs3AHUZpV8HRsUfQRAkgyAJ9lKuVuFzgWC+eVB82Tg3yM1Yck0ACgqDg3
03K7LeZdDQF011l4fLi4c9s=
=eycp
-----END PGP SIGNATURE-----

--UPT3ojh+0CqEDtpF--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to