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

From: Gabor Kovesdan <gabor_at_FreeBSD.org>
Date: Sun, 22 Jun 2008 14:58:17 +0200
Andrey Chernov escribió:
> On Wed, Jun 18, 2008 at 12:40:24PM +0200, Dag-Erling Sm??rgrav wrote:
>   
>> For grep, I believe it should simply be a matter of calling setlocale(),
>> using wide strings, and using a multibyte regex engine (for appropriate
>> values of "simply").
>>     
>
> See my prev reply telling more details. Using wide strings is not so easy, 
> f.e. all ctype BSD grep now uses should be converted to wctype, input 
> conversion added, etc.
>   
I've started to work on doing this big change, the first step:
http://kovesdan.org/patches/grep-i18n.diff

It doesn't work though, each file is recognized as binary with this 
change. Do you have any idea, why this happens? What am I doing wrong?

Regards,
Gabor
Received on Sun Jun 22 2008 - 10:58:21 UTC

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