bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test Release: grep-2.5.4-20090126


From: Tony Abou-Assaleh
Subject: Test Release: grep-2.5.4-20090126
Date: Mon, 26 Jan 2009 03:42:46 -0400
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

An updated test release is now available: grep-2.5.4-20090126. It
includes a patch from Bruno that eliminates several compilation warnings.

Please test this pre-release and share your findings (both
positive and negative). My testing has been on Ubuntu and Mac OS X. If
you have access to other systems or distributions, please share your
findings with the group.

Download site:

    http://alpha.gnu.org/gnu/grep/

On problem remains (among others), as Bruno mentioned:

> search.c: In function ‘check_multibyte_string’:
> search.c:169: warning: passing argument 1 of ‘wcrtomb’ discards qualifiers 
> from pointer target type
> 
> Suggestion: Fix that code. It is completely broken: It assumes that for a pair
> of upper-case and lower-case wide characters, the multibyte representation of 
> the
> two characters has the same length. This is not true in Turkish tr_TR.UTF-8 
> locales
> for the characters 'İ' and 'i'.

I spent some time looking into this but couldn't come-up with any
quick-and-easy fixes for this release, so it will have to wait for the
next one. I've updated the KNOWN BUGS section of the README file
accordingly.

There is a function in src/grep.c, namely mb_icase_keys, that appears to
have a somewhat similar functionality as check_multibyte_string in
src/search.c. If someone understands this code and wishes to give it a
stab or share some thoughts, please do so.

Ideally, the regex stuff in lib/ should be synchronized with gnulib.
Using gnulib-tool has been on the TODO list for long and I'll be looking
 into this for a subsequent release. Again, any and all help will be
much appreciated. My understanding is that Karl and Bruno are in favour
of this move so at least we have their support :O)

Cheers,

TAA

-- 
Tony Abou-Assaleh, PhD
Email:    address@hidden
Web site: http://tony.abou-assaleh.net







reply via email to

[Prev in Thread] Current Thread [Next in Thread]