[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#101897: marked as done (glibc locales and regexp malfunction )



Your message dated Thu, 27 Mar 2003 19:11:32 +0900
with message-id <80znnhgluz.wl@oris.opensource.jp>
and subject line Bug#101897: glibc locales and regexp malfunction
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; 22 Jun 2001 09:41:33 +0000
>From toman@whale.kolej.mff.cuni.cz Fri Jun 22 04:41:33 2001
Return-path: <toman@whale.kolej.mff.cuni.cz>
Received: from smtp.kolej.mff.cuni.cz [::ffff:195.113.25.225] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15DNRK-0003yF-00; Fri, 22 Jun 2001 04:41:27 -0500
Received: from whale.kolej.mff.cuni.cz (whale.kolej.mff.cuni.cz [195.113.27.189])
	by smtp.kolej.mff.cuni.cz (8.11.3/8.11.3) with ESMTP id f5M9T7U30003
	for <submit@bugs.debian.org>; Fri, 22 Jun 2001 11:29:07 +0200 (CEST)
	(envelope-from toman@whale.kolej.mff.cuni.cz)
Received: by whale.kolej.mff.cuni.cz (Postfix, from userid 1000)
	id 0C61B611A6; Fri, 22 Jun 2001 11:41:00 +0200 (CEST)
Date: Fri, 22 Jun 2001 11:41:00 +0200
From: Kamil Toman <ktoman@email.cz>
To: submit@bugs.debian.org
Subject: glibc locales and regexp malfunction 
Message-ID: <20010622114100.A26261@whale>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
Delivered-To: submit@bugs.debian.org

Package: libc6
Version: 2.2.3-5

When certain locales set, the regexp POSIX functions don't work correctly.
The bug shows, for example, in mutt or libzv2 (and therefore gnome-terminal)
applications which use regcomp and regexec functions.

For example with czech locales set (export LANG=czech; export LC_ALL=czech).
Searching for pattern '[A-Za-z_]' doesn't work - it always stops at first 'c'.

(i.e. when searching for http://www_a_c_org_cc as 'http://[A-Za-z_]' the match
is only 'http://www_a_'). 

Setting locale back to 'C' fixes the problem.

I'm using Debian GNU/Linux 2.3 (woody), kernel 2.4.3, libc6-2.2.3-5.

---------------------------------------
Received: (at 101897-done) by bugs.debian.org; 27 Mar 2003 10:11:39 +0000
>From gotom@debian.or.jp Thu Mar 27 04:11:37 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18yUMB-0005KH-00; Thu, 27 Mar 2003 04:11:36 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP id F083BC33C7
	for <101897-done@bugs.debian.org>; Thu, 27 Mar 2003 19:11:32 +0900 (JST)
Date: Thu, 27 Mar 2003 19:11:32 +0900
Message-ID: <80znnhgluz.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: 101897-done@bugs.debian.org
Subject: Re: Bug#101897: glibc locales and regexp malfunction
In-Reply-To: <80lm03xrfi.wl@oris.opensource.jp>
References: <80lm03xrfi.wl@oris.opensource.jp>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 101897-done@bugs.debian.org
X-Spam-Status: No, hits=-1.8 required=4.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
	      USER_AGENT
	version=2.44
X-Spam-Level: 

At Wed, 26 Feb 2003 19:33:05 +0900,
GOTO Masanori wrote:
> 
> > When certain locales set, the regexp POSIX functions don't work correctly.
> > The bug shows, for example, in mutt or libzv2 (and therefore gnome-terminal)
> > applications which use regcomp and regexec functions.
> > 
> > For example with czech locales set (export LANG=czech; export LC_ALL=czech).
> > Searching for pattern '[A-Za-z_]' doesn't work - it always stops at first 'c'.
> > 
> > (i.e. when searching for http://www_a_c_org_cc as 'http://[A-Za-z_]' the match
> > is only 'http://www_a_'). 
> > 
> > Setting locale back to 'C' fixes the problem.
> > 
> > I'm using Debian GNU/Linux 2.3 (woody), kernel 2.4.3, libc6-2.2.3-5.
> 
> This bug should be fixed in glibc 2.3, because regexp function is 
> replaced with the locale-aware.  Please check.

I got no reply - and I think this bug can be closed with glibc 2.3.1.
Now I close this bug.  If you have any questions, please mail to me,
or reopen this bug.

Regards,
-- gotom



Reply to: