Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Wed, 18 Jun 2008 11:39:10 +0200
Andrey Chernov <ache_at_nagual.pp.ru> writes:
> Single byte locales collation works through strcoll() via chains, i.e. 
> seek all chains starting with given letter. Multibyte locales collation 
> currently is not implemented and can't be properly implemented under 
> existen single byte framework (it will consume resourses badly in that 
> case). I know semi-hacking attempts to implement multibyte collattion via 
> single byte one, but all they are only for small ASCII + national alphabet 
> subset, rest of Unicode left unsorted.

Does that mean our wcsxfrm() doesn't work?  IIUC, it should convert
wide strings to strings that can be compared directly with strcmp()?

In any case, this is a libc issue, right?  As long as sort / grep uses
the API correctly, they will work fine once libc is fixed?

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Wed Jun 18 2008 - 07:39:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC