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/
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to