From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11624 invoked by alias); 16 Sep 2014 03:59:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 11577 invoked by uid 48); 16 Sep 2014 03:58:56 -0000 From: "33user at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] Date: Tue, 16 Sep 2014 03:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 33user at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg00202.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17396 Bug ID: 17396 Summary: globbing for locale by [[.collating-elemnet.]] Product: glibc Version: 2.19 Status: NEW Severity: normal Priority: P2 Component: localedata Assignee: unassigned at sourceware dot org Reporter: 33user at gmail dot com CC: libc-locales at sourceware dot org i don't see how `[[.collating-element.]]' really work. I tried for es_ES [[.ll.]] or [[.l-l.]] or [[..]] to match the string `ll' and it doesn't work. locale was set with setlocale(return was not null), and with export LC_COLLATE=es_ES so far i see 2 bugs in posix/fnmatch_loop.c in line 590, should be: if (n[c1] != wextra[1 + idx + c1]), (the + idx, is missing) line 808 is very strange: idx = (idx + 3) & ~4; it should probably be `& ~3', thanks -- You are receiving this mail because: You are on the CC list for the bug.