Update of patch #3962 (project grep):

                  Status:                    None => Done                   
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

Applied as CVS revision 1.7 of "tests/foad1.sh".

For posterity, given the input and pattern strings, and the --ignore-case
flag, POSIX implies that:
- this logic is wrong:  if (lc(input_wchar) == lc(pattern_wchar)) ...
- this logic is wrong:  if (uc(input_wchar) == uc(pattern_wchar)) ...
- this logic is right (but could be optimized):  if (input_wchar ==
pattern_wchar || lc(input_wchar) == pattern_wchar || uc(input_wchar) ==
pattern_wchar) ...

Study the new tests to understand how this does make a difference.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3962>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to