Moderate Activity

Commits : Individual Commit

  Analyzed 4 days ago based on code collected 4 days ago.

Commit ID c96b0f2c8220f171f8fabd62aa1457ebff4d9277

Avatar Contributor: Jim Meyering Files Modified: 2
Date: 06-August-2012 at 11:29 Lines Added: 3
Repository: git://git.sv.gnu.org/grep.git master Lines Removed: 1
Commit Comment: grep -i '^$' in a multi-byte locale could report a false match
* src/dfasearch.c (EGexecute): Do not match the sentinel "newline"
that is appended to each buffer.
This bug may sound like a big deal (it certainly surprised me), but
realize that only the empty-line-matching regular expression '^$'
can trigger it, and then only when you add the unnecessary (and
arguably superfluous) -i, *and* run the command in a multi-byte
locale. Using a multi-byte locale for such a regular expression
is also pointless, and hurts performance.
* NEWS (Bug fixes): Mention it.
Reported by Alexander Katassonov <kata...@gmx.de>
 

Changes by Language

Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
  C 1 1 2 0 0 0

Changes by File

Showing page 1 of 1
File Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
NEWS   No source code was detected in this file.
src/dfasearch.c C 1 1 2 0 0 0
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.