Your message dated Tue, 20 Dec 2005 11:17:25 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#217608: fixed in slocate 3.0.beta.r1-1
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-close) by bugs.debian.org; 20 Dec 2005 19:21:25 +0000
>From [EMAIL PROTECTED] Tue Dec 20 11:21:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1EomzF-0003v7-9A; Tue, 20 Dec 2005 11:17:25 -0800
From: Kevin Lindsay <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#217608: fixed in slocate 3.0.beta.r1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 20 Dec 2005 11:17:25 -0800
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 6
Source: slocate
Source-Version: 3.0.beta.r1-1
We believe that the bug you reported is fixed in the latest version of
slocate, which is due to be installed in the Debian FTP archive:
slocate_3.0.beta.r1-1.diff.gz
to pool/main/s/slocate/slocate_3.0.beta.r1-1.diff.gz
slocate_3.0.beta.r1-1.dsc
to pool/main/s/slocate/slocate_3.0.beta.r1-1.dsc
slocate_3.0.beta.r1-1_i386.deb
to pool/main/s/slocate/slocate_3.0.beta.r1-1_i386.deb
slocate_3.0.beta.r1.orig.tar.gz
to pool/main/s/slocate/slocate_3.0.beta.r1.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.
Kevin Lindsay <[EMAIL PROTECTED]> (supplier of updated slocate 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: Wed, 19 Dec 2005 21:54:52 -0800
Source: slocate
Binary: slocate
Architecture: source i386
Version: 3.0.beta.r1-1
Distribution: unstable
Urgency: low
Maintainer: Kevin Lindsay <[EMAIL PROTECTED]>
Changed-By: Kevin Lindsay <[EMAIL PROTECTED]>
Description:
slocate - Secure replacement of findutil's locate
Closes: 159235 217608 229198 266530 271695 272131 274538 296033 300760 300778
324951 338652
Changes:
slocate (3.0.beta.r1-1) unstable; urgency=low
.
* New release. 3.0 beta r1. This is a complete redesign/rewrite.
* Closes: #300760, #159235, #300778, #338652, #217608, #324951, #266530
* Closes: #271695, #272131
* Closes: #274538 . updatedb will not print an error message if no database
exists.
* Closes: #296033 . Renamed DEBUG to SL_DEBUG.
* Closes: #229198
Files:
13bbfa56905568d2f366ecb115da2461 580 utils optional slocate_3.0.beta.r1-1.dsc
a5b5a133263727a7f23f8076b03293c8 35888 utils optional
slocate_3.0.beta.r1.orig.tar.gz
df05b89f555a99174feacc499e294f64 20 utils optional
slocate_3.0.beta.r1-1.diff.gz
5d66d5d376100436d6d53063a27f03a0 29004 utils optional
slocate_3.0.beta.r1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDp7/UUZpV8HRsUfQRAiD/AJ0S3ikNtoWIF83xbiJjlEeTY7BpaQCg55TS
fnJ/EEf8Ehm6T/FXe7/n+mY=
=X5g+
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]