[Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]]

33user at gmail dot com sourceware-bugzilla@sourceware.org
Tue Sep 16 04:00:00 GMT 2014


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.



More information about the Libc-locales mailing list