* [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]]
@ 2014-09-16 4:00 33user at gmail dot com
2014-09-16 9:44 ` [Bug localedata/17396] " schwab@linux-m68k.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: 33user at gmail dot com @ 2014-09-16 4:00 UTC (permalink / raw)
To: libc-locales
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-elemnet.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
@ 2014-09-16 9:44 ` schwab@linux-m68k.org
2014-09-16 11:32 ` schwab@linux-m68k.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2014-09-16 9:44 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The "ll" collating-element is not defined in the es_ES locale, only in the
es_US locale.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-elemnet.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
2014-09-16 9:44 ` [Bug localedata/17396] " schwab@linux-m68k.org
@ 2014-09-16 11:32 ` schwab@linux-m68k.org
2014-09-16 11:33 ` 33user at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2014-09-16 11:32 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
I didn't say anything about the correctness of collating element matching.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-elemnet.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
2014-09-16 9:44 ` [Bug localedata/17396] " schwab@linux-m68k.org
2014-09-16 11:32 ` schwab@linux-m68k.org
@ 2014-09-16 11:33 ` 33user at gmail dot com
2014-10-06 1:24 ` 33user at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 33user at gmail dot com @ 2014-09-16 11:33 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
--- Comment #2 from alex <33user at gmail dot com> ---
(In reply to Andreas Schwab from comment #1)
> The "ll" collating-element is not defined in the es_ES locale, only in the
> es_US locale.
what am i missing?
$: export LC_COLLATE=es_US
$: sort <<\eof
l
lla
lb
eof
=>l
=>lb
=>lla
$: touch ll.c
$: ls [[.l-l.]].c
=> ls: cannot access [[.l-l.]].c: No such file or directory
And besides, what about the 2 bugs i've shown in the source code?
thanks
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-elemnet.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
` (2 preceding siblings ...)
2014-09-16 11:33 ` 33user at gmail dot com
@ 2014-10-06 1:24 ` 33user at gmail dot com
2014-10-06 3:41 ` 33user at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 33user at gmail dot com @ 2014-10-06 1:24 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
--- Comment #4 from alex <33user at gmail dot com> ---
also, n should be incremted accordingly, (c1, but 1 is always incremented at
the bottom of the loop, so it should be c1 -1).
For future reference, these 3 or so (there are a multiple of those...)
bug-fixes would SOLVES the problems completely.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-elemnet.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
` (3 preceding siblings ...)
2014-10-06 1:24 ` 33user at gmail dot com
@ 2014-10-06 3:41 ` 33user at gmail dot com
2014-10-30 12:01 ` [Bug localedata/17396] globbing for locale by [[.collating-element.]] schwab@linux-m68k.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: 33user at gmail dot com @ 2014-10-06 3:41 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
--- Comment #5 from alex <33user at gmail dot com> ---
one more thing, n should be cast to unsigned char before it is compared to any
'extra' slot..(the not wide char version...)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-element.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
` (4 preceding siblings ...)
2014-10-06 3:41 ` 33user at gmail dot com
@ 2014-10-30 12:01 ` schwab@linux-m68k.org
2019-02-04 14:46 ` cvs-commit at gcc dot gnu.org
2019-02-04 14:54 ` schwab@linux-m68k.org
7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2014-10-30 12:01 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|globbing for locale by |globbing for locale by
|[[.collating-elemnet.]] |[[.collating-element.]]
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-element.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
` (5 preceding siblings ...)
2014-10-30 12:01 ` [Bug localedata/17396] globbing for locale by [[.collating-element.]] schwab@linux-m68k.org
@ 2019-02-04 14:46 ` cvs-commit at gcc dot gnu.org
2019-02-04 14:54 ` schwab@linux-m68k.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2019-02-04 14:46 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 65f7767a914144ae303f7b9ae81865061793dcb9 (commit)
from 3f635fb43389b54f682fc9ed2acc0b2aaf4a923d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=65f7767a914144ae303f7b9ae81865061793dcb9
commit 65f7767a914144ae303f7b9ae81865061793dcb9
Author: Andreas Schwab <schwab@suse.de>
Date: Tue Sep 16 11:17:04 2014 +0200
Fix handling of collating elements in fnmatch (bug 17396, bug 16976)
This fixes the same bug in fnmatch that was fixed by commit 7e2f0d2d77 for
regexp matching. As a side effect it also removes the use of an unbound
VLA.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 19 ++
include/wchar.h | 2 +
posix/Makefile | 4 +-
posix/fnmatch.c | 6 +-
posix/fnmatch_loop.c | 228 ++++++++-------------
elf/tst-absolute-sym.c => posix/tst-fnmatch4.c | 25 ++-
nptl/tst-mtx-recursive.c => posix/tst-fnmatch5.c | 37 ++--
sysdeps/i386/i686/multiarch/wmemcmp.c | 3 +-
sysdeps/s390/wmemcmp.c | 7 +-
sysdeps/x86_64/multiarch/wmemcmp.c | 3 +-
wcsmbs/wmemcmp.c | 9 +-
11 files changed, 163 insertions(+), 180 deletions(-)
copy elf/tst-absolute-sym.c => posix/tst-fnmatch4.c (67%)
copy nptl/tst-mtx-recursive.c => posix/tst-fnmatch5.c (62%)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug localedata/17396] globbing for locale by [[.collating-element.]]
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
` (6 preceding siblings ...)
2019-02-04 14:46 ` cvs-commit at gcc dot gnu.org
@ 2019-02-04 14:54 ` schwab@linux-m68k.org
7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2019-02-04 14:54 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=17396
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.30
--- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.30
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-02-04 14:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-16 4:00 [Bug localedata/17396] New: globbing for locale by [[.collating-elemnet.]] 33user at gmail dot com
2014-09-16 9:44 ` [Bug localedata/17396] " schwab@linux-m68k.org
2014-09-16 11:32 ` schwab@linux-m68k.org
2014-09-16 11:33 ` 33user at gmail dot com
2014-10-06 1:24 ` 33user at gmail dot com
2014-10-06 3:41 ` 33user at gmail dot com
2014-10-30 12:01 ` [Bug localedata/17396] globbing for locale by [[.collating-element.]] schwab@linux-m68k.org
2019-02-04 14:46 ` cvs-commit at gcc dot gnu.org
2019-02-04 14:54 ` schwab@linux-m68k.org
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).