CVSROOT: /cvsroot/grep
Module name: grep
Branch:
Changes by: Charles Levert <[EMAIL PROTECTED]> 05/11/04 01:24:01
Modified files:
. : ChangeLog
src : grep.c
Log message:
* src/grep.c (mb_icase_keys): New function to properly lowercase
keys if match_icase. The problem was that some multi-octet
characters can get longer or shorter upon this conversion, so that
it cannot just naively be done in place on the same memory buffer.
* src/grep.c (main): Call mb_icase_keys (and remove in-line code).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/ChangeLog.diff?tr1=1.272&tr2=1.273&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/grep/grep/src/grep.c.diff?tr1=1.113&tr2=1.114&r1=text&r2=text