DragonFly BSD
DragonFly commits List (threaded) for 2013-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: grep utils: Update from version 2.12 to 2.14


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Apr 2013 10:55:16 -0700 (PDT)

commit 6aaf5a41d7264a96eb9e0aeedda0f4d3563aedb1
Author: John Marino <draco@marino.st>
Date:   Tue Apr 23 19:04:18 2013 +0200

    grep utils: Update from version 2.12 to 2.14
    
    === 2.14 Bug fixes ===
    * grep -i '^$' could exit 0 (i.e., report a match) in a multi-byte locale,
      even though there was no match, and the command generated no output.
      E.g., seq 2 | LC_ALL=en_US.utf8 grep -il '^$' would mistakenly print
      "(standard input)".  Related, seq 9 | LC_ALL=en_US.utf8 grep -in '^$'
      would print "2:4:6:8:10:12:14:16" and exit 0.  Now it prints nothing
      and exits with status of 1.  [bug introduced in grep-2.6]
    * 'grep' no longer falsely reports text files as being binary on file
      systems that compress contents or that store tiny contents in metadata.
    
    === 2.13 Bug fixes  ===
    * grep -i, in a multi-byte locale, when matching a line containing a character
      like the UTF-8 Turkish I-with-dot (U+0130) (whose lower-case representation
      occupies fewer bytes), would print an incomplete output line.
      Similarly, with a matched line containing a character (e.g., the Latin
      capital I in a Turkish UTF-8 locale), where the lower-case representation
      occupies more bytes, grep could print garbage.
      [bug introduced in grep-2.6]
    * --include and --exclude can again be combined, and again apply to
      the command line, e.g., "grep --include='*.[ch]' --exclude='system.h'
      PATTERN *" again reads all *.c and *.h files except for system.h.
      [bug introduced in grep-2.6]
    
    === New 2.13 features ===
    * 'grep' without -z now treats a sparse file as binary, if it can
      easily determine that the file is sparse.

Summary of changes:
 contrib/grep/README.DELETED                        |   3 -
 contrib/grep/README.DRAGONFLY                      |  11 +--
 contrib/grep/lib/hard-locale.c                     |  72 --------------
 contrib/grep/lib/hard-locale.h                     |  25 -----
 contrib/grep/lib/strcasecmp.c                      |  62 ------------
 contrib/grep/lib/strncasecmp.c                     |  62 ------------
 gnu/usr.bin/grep/grep/grep.1                       |  35 +++++--
 gnu/usr.bin/grep/libgreputils/Makefile             |   3 +-
 gnu/usr.bin/grep/libgreputils/alloca.h             |   7 ++
 gnu/usr.bin/grep/libgreputils/config.h             |  69 ++++++--------
 .../libdiffutils => grep/libgreputils}/sys/stat.h  | 106 +++++++++++++++++----
 11 files changed, 155 insertions(+), 300 deletions(-)
 delete mode 100644 contrib/grep/lib/hard-locale.c
 delete mode 100644 contrib/grep/lib/hard-locale.h
 delete mode 100644 contrib/grep/lib/strcasecmp.c
 delete mode 100644 contrib/grep/lib/strncasecmp.c
 copy gnu/usr.bin/{diff/libdiffutils => grep/libgreputils}/sys/stat.h (91%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6aaf5a41d7264a96eb9e0aeedda0f4d3563aedb1


-- 
DragonFly BSD source repository



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