Re: bug in join: case comparisons don't work in multibyte locales

2009-03-10 Thread Pádraig Brady
Pádraig Brady wrote: > Bruno Haible wrote: >> Hi Jim, > > Thanks for looking at this Bruno. > >> In coreutils/src/join.c, there is a FIXME mentioning that the -i option for >> case insensitive comparison of the input lines does not work in multibyte >> locales. > > Utils that have this issue are

Re: bug in join: case comparisons don't work in multibyte locales

2009-03-10 Thread Pádraig Brady
Bruno Haible wrote: > Hi Jim, Thanks for looking at this Bruno. > In coreutils/src/join.c, there is a FIXME mentioning that the -i option for > case insensitive comparison of the input lines does not work in multibyte > locales. Utils that have this issue are: join -i, uniq -i, sort -f, ptx -f

bug in join: case comparisons don't work in multibyte locales

2009-03-10 Thread Bruno Haible
Hi Jim, In coreutils/src/join.c, there is a FIXME mentioning that the -i option for case insensitive comparison of the input lines does not work in multibyte locales. And indeed, in an UTF-8 locale, I see this: $ cat > in1 < in2 < in1 < in2 <--- coreutils-7.1/src/join.c.bak 2008-11-10 14:17:52.

new module 'mbmemcasecoll'

2009-03-10 Thread Bruno Haible
> So here I'm committing a generalisation of mbscasecmp to strings with > with embedded NULs. And here the same thing, taking into account the collation order from the current locale. 2009-03-10 Bruno Haible New module 'mbmemcasecoll'. * lib/mbmemcasecoll.h: New file.

Re: [bug #24342] -inum predicate shoud use dirent.d_ino instead of stat.st_ino

2009-03-10 Thread George Spelvin
James Youngman wrote: > [ adding nug-gnulib to CC since we're discussinf its fts implementation ] > > On Sun, Mar 8, 2009 at 2:50 PM, George Spelvin wrote: >> James Youngman wrote: >>> The updated patches are what I actually pushed (into 4.5.x). >> >> Ah, thank you. The posted patches wouldn't