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

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Tue, 17 Jun 2008 04:46:47 +0400
On Tue, Jun 17, 2008 at 04:28:10AM +0400, Andrey Chernov wrote:
> BSD grep is even not bothering to call setlocale(). I can't say is it can 
> be simple healed by adding that call, some test suite run is needed.

Quick source inspection reveals that BSD grep operates with single bytes 
only (util.c) so big rewriting with mbrtowc() is needed. Adding 
setlocale() only will makes it only useable with single byte locales, in 
success case.

-- 
http://ache.pp.ru/
Received on Mon Jun 16 2008 - 22:47:08 UTC

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