public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "33user at gmail dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-17396-131@http.sourceware.org/bugzilla/> (raw)

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 [[.<l-l>.]] 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.


             reply	other threads:[~2014-09-16  3:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16  3:59 33user at gmail dot com [this message]
2014-09-16  9:44 ` [Bug localedata/17396] " schwab@linux-m68k.org
2014-09-16 10:24 ` 33user at gmail dot com
2014-09-16 10:59 ` schwab@linux-m68k.org
2014-10-06  1:15 ` 33user at gmail dot com
2014-10-06  3:38 ` 33user at gmail dot com
2014-10-30 12:00 ` [Bug localedata/17396] globbing for locale by [[.collating-element.]] schwab@linux-m68k.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17396-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).