Your message dated Mon, 04 Apr 2005 19:17:04 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302941: fixed in belocs-locales-bin 2.3.4-5
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; 3 Apr 2005 21:09:06 +0000
>From [EMAIL PROTECTED] Sun Apr 03 14:09:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp05.mrf.mail.rcn.net [207.172.4.64]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DICLB-0007QH-00; Sun, 03 Apr 2005 14:09:05 -0700
Received: from 208-58-77-33.c3-0.grg-ubr3.lnh-grg.md.cable.rcn.com (HELO
tux64.internal.ucko.debian.net) (208.58.77.33)
by smtp05.mrf.mail.rcn.net with ESMTP; 03 Apr 2005 17:09:04 -0400
X-IronPort-AV: i="3.91,144,1110171600";
d="scan'208"; a="20065555:sNHT2433742754"
Received: from amu by tux64.internal.ucko.debian.net with local (Exim 4.50)
id 1DICL9-0008B4-Ru
for [EMAIL PROTECTED]; Sun, 03 Apr 2005 17:09:03 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Aaron M. Ucko" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: belocs-locales-bin: breaks on 64-bit systems
X-Mailer: reportbug 3.9
Date: Sun, 03 Apr 2005 17:09:03 -0400
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
Delivered-To: [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-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: belocs-locales-bin
Version: 2.3.4-4
Severity: important
Tags: patch
Without the attached patch, installing belocs-locales-data on my AMD64
system fails with
> Generating locales...
> en_US.ISO-8859-1...memory clobbered past end of allocated block
With the patch (which addresses all the suspicious-looking warnings
GCC reported), however, it has no such trouble, and seems to produce
sane output.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11.5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages belocs-locales-bin depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
*** debian/patches/fix_64bit_cleanliness.diff
Index: belocs-locales-bin-2.3.4/locale/programs/ld-address.c
===================================================================
--- belocs-locales-bin-2.3.4.orig/locale/programs/ld-address.c 2005-04-03
15:34:11.000000000 -0400
+++ belocs-locales-bin-2.3.4/locale/programs/ld-address.c 2005-04-03
16:48:14.000000000 -0400
@@ -104,8 +104,7 @@
{
FILE *fp;
char *line = NULL;
- int linelength = 0;
- size_t nelem = 0;
+ size_t linelength = 0, nelem = 0;
int n, cnt, in_string;
char *cp;
struct iso639_t *tab;
@@ -186,8 +185,7 @@
{
FILE *fp;
char *line = NULL;
- int linelength = 0;
- size_t nelem = 0;
+ size_t linelength = 0, nelem = 0;
int n, cnt, in_string;
char *cp;
struct iso3166_t *tab;
Index: belocs-locales-bin-2.3.4/locale/programs/ld-collate.c
===================================================================
--- belocs-locales-bin-2.3.4.orig/locale/programs/ld-collate.c 2005-04-03
15:34:11.000000000 -0400
+++ belocs-locales-bin-2.3.4/locale/programs/ld-collate.c 2005-04-03
16:53:41.000000000 -0400
@@ -1500,7 +1500,7 @@
{
if (strcmp (collate->flow_control->name, "else") == 0)
lr_error (ldfile,
- _("%s: `else' statement at `%s:%d' cannot be followed by
another `else' statement"),
+ _("%s: `else' statement at `%s:%zd' cannot be followed by
another `else' statement"),
"LC_COLLATE", collate->flow_control->name,
collate->flow_control->line);
if (level == 0)
{
@@ -1522,7 +1522,7 @@
}
if (nowtok == tok_eof)
WITH_CUR_LOCALE (error (0, 0, _("\
-%s: unterminated `%s' flow control beginning at %s:%d"),
+%s: unterminated `%s' flow control beginning at %s:%zd"),
"LC_COLLATE", collate->flow_control->name,
collate->flow_control->file,
collate->flow_control->line));
@@ -4053,7 +4053,7 @@
if (strcmp (collate->flow_control->name, "else") == 0)
lr_error (ldfile,
- _("%s: `else' statement at `%s:%d' cannot be followed by
another `else' statement"),
+ _("%s: `else' statement at `%s:%zd' cannot be followed by
another `else' statement"),
"LC_COLLATE", collate->flow_control->name,
collate->flow_control->line);
collate->flow_control->name = "else";
collate->flow_control->file = ldfile->fname;
@@ -4111,7 +4111,7 @@
if (collate->flow_control != NULL
&& strcmp(collate->flow_control->file, ldfile->fname) == 0)
WITH_CUR_LOCALE (error (0, 0, _("\
-%s: unterminated `%s' flow control beginning at %s:%d"),
+%s: unterminated `%s' flow control beginning at %s:%zd"),
"LC_COLLATE", collate->flow_control->name,
collate->flow_control->file,
collate->flow_control->line));
Index: belocs-locales-bin-2.3.4/locale/programs/ld-monetary.c
===================================================================
--- belocs-locales-bin-2.3.4.orig/locale/programs/ld-monetary.c 2005-04-03
15:34:11.000000000 -0400
+++ belocs-locales-bin-2.3.4/locale/programs/ld-monetary.c 2005-04-03
16:55:10.000000000 -0400
@@ -169,8 +169,7 @@
{
FILE *fp;
char *line = NULL;
- int linelength = 0;
- size_t nelem = 0;
+ size_t linelength = 0, nelem = 0;
int n, cnt, in_string;
char *cp;
struct iso4217_t *tab;
---------------------------------------
Received: (at 302941-close) by bugs.debian.org; 4 Apr 2005 23:25:44 +0000
>From [EMAIL PROTECTED] Mon Apr 04 16:25:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DIawy-0005i0-00; Mon, 04 Apr 2005 16:25:44 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DIaoa-0008IT-00; Mon, 04 Apr 2005 19:17:04 -0400
From: Denis Barbier <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#302941: fixed in belocs-locales-bin 2.3.4-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 04 Apr 2005 19:17:04 -0400
Delivered-To: [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-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-Spam-Level:
Source: belocs-locales-bin
Source-Version: 2.3.4-5
We believe that the bug you reported is fixed in the latest version of
belocs-locales-bin, which is due to be installed in the Debian FTP archive:
belocs-locales-bin_2.3.4-5.diff.gz
to pool/main/b/belocs-locales-bin/belocs-locales-bin_2.3.4-5.diff.gz
belocs-locales-bin_2.3.4-5.dsc
to pool/main/b/belocs-locales-bin/belocs-locales-bin_2.3.4-5.dsc
belocs-locales-bin_2.3.4-5_i386.deb
to pool/main/b/belocs-locales-bin/belocs-locales-bin_2.3.4-5_i386.deb
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.
Denis Barbier <[EMAIL PROTECTED]> (supplier of updated belocs-locales-bin
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: Mon, 4 Apr 2005 23:20:46 +0200
Source: belocs-locales-bin
Binary: belocs-locales-bin
Architecture: source i386
Version: 2.3.4-5
Distribution: unstable
Urgency: medium
Maintainer: Denis Barbier <[EMAIL PROTECTED]>
Changed-By: Denis Barbier <[EMAIL PROTECTED]>
Description:
belocs-locales-bin - tools for compiling locale data files
Closes: 302941
Changes:
belocs-locales-bin (2.3.4-5) unstable; urgency=medium
.
* Modified patches:
+ read_isocodes_at_run_time.diff
The linelength variable had a wrong type which makes localedef
unusable on 64-bit systems.
+ localedef_preprocessor_collate.diff
Fix a wrong type declaration in printf messages.
Thanks Aaron M. Ucko for pointing out these two bugs and providing a
patch. Closes: #302941
* New patch:
+ localedef_fix_lang_lib_test.diff
A wrong test was performed under some rare circumstances (with 3-letter
language codes) about a mismatch with lang_lib.
* sbin/locale-gen: Do not barf when the magic file cannot be created.
Files:
97a5ed5db5c6d4ad614d06add043b931 606 misc extra belocs-locales-bin_2.3.4-5.dsc
7c787514a01c9627959322bbf10a8612 181162 misc extra
belocs-locales-bin_2.3.4-5.diff.gz
908f7d23d7bebbb2cc3fa8ef17bbf96b 159150 misc extra
belocs-locales-bin_2.3.4-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCUchm8Ri1lR4WGvsRAhlRAKCQQTj/lDnv/48xoUaO+W9UBD38cgCgrpM3
jcOxJDTVyf3u+KyBNNRTGjA=
=ZiEf
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]