BUG in collate routines?!

Vahe Khachikyan vahe at khachikyan.de
Fri Jun 20 15:58:02 PDT 2003


Hi ,

I was making a new locale for Armenian and it seams that found a bug in
substitute routines.
The problem is, that the colldef with substitution seams to have a buggy
behaviour.
When a locale has a LC_COLLATE defined with a substitution like German 'ß'
which is
substituted with 'ss', then a strcoll of strings 'sr' and 'ß' returns the
same value like
strcoll of 'st' and 'ß'. The colldef file for de_DE.ISO8859-1 says that the
german ligature
'ß' should be substituded with 'ss'.
I hope that I understood the meaning of substitude in colldef correctly, at
least on Linux it works
as awaited.

Should we make a patch for libc or is this a correct behaviour?

--
Vahe Khachikyan
---



More information about the freebsd-hackers mailing list