git: vendor/GREP vendor/grep: upgrade from 2.22 to 3.4

Daniel Fojt deef at crater.dragonflybsd.org
Tue Jun 2 10:03:29 PDT 2020


commit 09d4459f3c9dceed89a46b9e67a783fae1eaa8c5
Author: Daniel Fojt <df at neosystem.org>
Date:   Tue Jun 2 18:56:39 2020 +0200

    vendor/grep: upgrade from 2.22 to 3.4

Summary of changes:
 contrib/grep/COPYING                               |    9 +-
 contrib/grep/README                                |    8 +-
 contrib/grep/doc/fdl.texi                          |    4 +-
 contrib/grep/doc/grep.texi                         |  531 ++-
 contrib/grep/doc/version.texi                      |    8 +-
 contrib/grep/lib/alignof.h                         |   50 -
 contrib/grep/lib/alloca.c                          |  478 ---
 contrib/grep/lib/argmatch.c                        |   34 +-
 contrib/grep/lib/argmatch.h                        |  252 +-
 contrib/grep/lib/assure.h                          |    6 +-
 contrib/grep/lib/at-func.c                         |  146 -
 contrib/grep/lib/basename-lgpl.c                   |    4 +-
 contrib/grep/lib/binary-io.c                       |   37 +-
 contrib/grep/lib/binary-io.h                       |   40 +-
 contrib/grep/lib/bitrotate.h                       |   14 +-
 contrib/grep/lib/c-ctype.h                         |   24 +-
 contrib/grep/lib/c-stack.c                         |  338 ++
 contrib/grep/lib/c-stack.h                         |   44 +
 contrib/grep/lib/c-strcase.h                       |    4 +-
 contrib/grep/lib/c-strcasecmp.c                    |    4 +-
 contrib/grep/lib/c-strcaseeq.h                     |    4 +-
 contrib/grep/lib/c-strncasecmp.c                   |    4 +-
 contrib/grep/lib/cdefs.h                           |  514 +++
 contrib/grep/lib/chdir-long.c                      |    7 +-
 contrib/grep/lib/chdir-long.h                      |    4 +-
 contrib/grep/lib/cloexec.c                         |    6 +-
 contrib/grep/lib/cloexec.h                         |    6 +-
 contrib/grep/lib/close-stream.c                    |    4 +-
 contrib/grep/lib/close.c                           |   69 -
 contrib/grep/lib/closedir.c                        |   67 -
 contrib/grep/lib/closeout.c                        |   20 +-
 contrib/grep/lib/closeout.h                        |    4 +-
 contrib/grep/lib/colorize-posix.c                  |    2 +-
 contrib/grep/lib/colorize-w32.c                    |  208 -
 contrib/grep/lib/colorize.h                        |    2 +-
 contrib/grep/lib/config.charset                    |  682 ---
 contrib/grep/lib/creat-safer.c                     |    4 +-
 contrib/grep/lib/cycle-check.c                     |    4 +-
 contrib/grep/lib/cycle-check.h                     |    4 +-
 contrib/grep/lib/dfa.c                             | 4359 ++++++++++++++++++++
 contrib/grep/{src => lib}/dfa.h                    |   79 +-
 contrib/grep/lib/dirent--.h                        |   24 -
 contrib/grep/lib/dirent-private.h                  |   40 -
 contrib/grep/lib/dirent-safer.h                    |   22 -
 contrib/grep/lib/dirname-lgpl.c                    |    4 +-
 contrib/grep/lib/dirname.h                         |    6 +-
 contrib/grep/lib/dosname.h                         |    9 +-
 contrib/grep/lib/{dup-safer.c => dup-safer-flag.c} |   18 +-
 contrib/grep/lib/dup-safer.c                       |    4 +-
 contrib/grep/lib/dup.c                             |   61 -
 contrib/grep/lib/dup2.c                            |  103 +-
 contrib/grep/lib/error.c                           |   37 +-
 contrib/grep/lib/error.h                           |    4 +-
 contrib/grep/lib/exclude.c                         |  136 +-
 contrib/grep/lib/exclude.h                         |    8 +-
 contrib/grep/lib/exitfail.c                        |    4 +-
 contrib/grep/lib/exitfail.h                        |    4 +-
 contrib/grep/lib/fchdir.c                          |  208 -
 contrib/grep/lib/fcntl--.h                         |    4 +-
 contrib/grep/lib/fcntl-safer.h                     |    4 +-
 contrib/grep/lib/fcntl.c                           |  486 ++-
 contrib/grep/lib/fd-hook.c                         |    6 +-
 contrib/grep/lib/fd-hook.h                         |    6 +-
 contrib/grep/lib/{fd-safer.c => fd-safer-flag.c}   |   25 +-
 contrib/grep/lib/fd-safer.c                        |    4 +-
 contrib/grep/lib/fdopendir.c                       |  213 -
 contrib/grep/lib/filename.h                        |    6 +-
 contrib/grep/lib/filenamecat-lgpl.c                |   61 +-
 contrib/grep/lib/filenamecat.h                     |    4 +-
 contrib/grep/lib/flexmember.h                      |   60 +
 contrib/grep/lib/fnmatch.c                         |  350 --
 contrib/grep/lib/fnmatch_loop.c                    | 1219 ------
 contrib/grep/lib/fpending.c                        |   30 -
 contrib/grep/lib/fpending.h                        |    4 +-
 contrib/grep/lib/fstat.c                           |   88 -
 contrib/grep/lib/fstatat.c                         |  135 -
 contrib/grep/lib/fts-cycle.c                       |    4 +-
 contrib/grep/lib/fts.c                             |  487 +--
 contrib/grep/lib/fts_.h                            |   20 +-
 contrib/grep/lib/getcwd-lgpl.c                     |  126 -
 contrib/grep/lib/getdtablesize.c                   |  121 -
 contrib/grep/lib/getopt-core.h                     |   96 +
 contrib/grep/lib/getopt-ext.h                      |   77 +
 contrib/grep/lib/getopt-pfx-core.h                 |   59 +
 contrib/grep/lib/getopt-pfx-ext.h                  |   71 +
 contrib/grep/lib/getopt.c                          | 1470 +++----
 contrib/grep/lib/getopt1.c                         |  179 +-
 contrib/grep/lib/getopt_int.h                      |   91 +-
 contrib/grep/lib/getpagesize.c                     |   39 -
 contrib/grep/lib/getprogname.c                     |  260 ++
 contrib/grep/lib/{btowc.c => getprogname.h}        |   45 +-
 contrib/grep/lib/gettext.h                         |   29 +-
 contrib/grep/lib/gettimeofday.c                    |  154 -
 contrib/grep/lib/glthread/lock.c                   |  848 ++--
 contrib/grep/lib/glthread/lock.h                   |  513 +--
 contrib/grep/lib/glthread/threadlib.c              |    6 +-
 contrib/grep/lib/gnulib.mk                         | 2872 -------------
 contrib/grep/lib/{wctomb.c => hard-locale.c}       |   24 +-
 contrib/grep/lib/{closeout.h => hard-locale.h}     |   28 +-
 contrib/grep/lib/hash.c                            |    4 +-
 contrib/grep/lib/hash.h                            |    7 +-
 contrib/grep/lib/i-ring.c                          |    4 +-
 contrib/grep/lib/i-ring.h                          |    4 +-
 contrib/grep/lib/iconv_open.c                      |  172 -
 contrib/grep/lib/ignore-value.h                    |    4 +-
 contrib/grep/lib/intprops.h                        |  414 +-
 contrib/grep/lib/isatty.c                          |   83 -
 contrib/grep/lib/isblank.c                         |   33 -
 contrib/grep/lib/iswctype-impl.h                   |   22 -
 contrib/grep/lib/iswctype.c                        |   23 -
 contrib/grep/lib/libc-config.h                     |  174 +
 contrib/grep/lib/localcharset.c                    | 1310 ++++--
 contrib/grep/lib/localcharset.h                    |  105 +-
 contrib/grep/lib/localeconv.c                      |  103 -
 contrib/grep/lib/localeinfo.c                      |  151 +
 contrib/grep/lib/localeinfo.h                      |   60 +
 contrib/grep/lib/lseek.c                           |   67 -
 contrib/grep/lib/lstat.c                           |   97 -
 contrib/grep/lib/malloc.c                          |   56 -
 contrib/grep/lib/malloca.c                         |  140 +-
 contrib/grep/lib/malloca.h                         |   32 +-
 contrib/grep/lib/malloca.valgrind                  |    7 -
 contrib/grep/lib/mbchar.c                          |    4 +-
 contrib/grep/lib/mbchar.h                          |    4 +-
 contrib/grep/lib/mbiter.h                          |    4 +-
 contrib/grep/lib/mbrlen.c                          |   32 -
 contrib/grep/lib/mbrtowc.c                         |  407 --
 contrib/grep/lib/mbscasecmp.c                      |    4 +-
 contrib/grep/lib/mbsinit.c                         |   61 -
 contrib/grep/lib/mbslen.c                          |    4 +-
 contrib/grep/lib/mbsrtowcs-state.c                 |   37 -
 contrib/grep/lib/mbsrtowcs.c                       |   32 -
 contrib/grep/lib/mbsstr.c                          |    7 +-
 contrib/grep/lib/mbuiter.h                         |    4 +-
 contrib/grep/lib/memchr.c                          |  172 -
 contrib/grep/lib/memchr.valgrind                   |   14 -
 contrib/grep/lib/memchr2.c                         |    4 +-
 contrib/grep/lib/memchr2.h                         |    4 +-
 contrib/grep/lib/memchr2.valgrind                  |   16 +
 contrib/grep/lib/mempcpy.c                         |   28 -
 contrib/grep/lib/memrchr.c                         |  161 -
 contrib/grep/lib/minmax.h                          |    4 +-
 contrib/grep/lib/msvc-inval.c                      |  129 -
 contrib/grep/lib/msvc-inval.h                      |  222 -
 contrib/grep/lib/msvc-nothrow.c                    |   49 -
 contrib/grep/lib/msvc-nothrow.h                    |   43 -
 contrib/grep/lib/nl_langinfo.c                     |  322 --
 contrib/grep/lib/obstack.c                         |    7 +-
 contrib/grep/lib/obstack.h                         |   23 +-
 contrib/grep/lib/open-safer.c                      |    4 +-
 contrib/grep/lib/open.c                            |  181 -
 contrib/grep/lib/openat-die.c                      |    4 +-
 contrib/grep/lib/openat-priv.h                     |    4 +-
 contrib/grep/lib/openat-proc.c                     |  148 +-
 contrib/grep/lib/openat-safer.c                    |    4 +-
 contrib/grep/lib/openat.c                          |  286 --
 contrib/grep/lib/openat.h                          |    4 +-
 contrib/grep/lib/opendir-safer.c                   |   76 -
 contrib/grep/lib/opendir.c                         |  148 -
 contrib/grep/lib/opendirat.c                       |   54 +
 contrib/grep/lib/opendirat.h                       |    2 +
 contrib/grep/lib/pathmax.h                         |   10 +-
 contrib/grep/lib/pipe-safer.c                      |    4 +-
 contrib/grep/lib/progname.c                        |   92 -
 contrib/grep/lib/progname.h                        |   62 -
 contrib/grep/lib/propername.c                      |    4 +-
 contrib/grep/lib/propername.h                      |    4 +-
 contrib/grep/lib/quote.h                           |    4 +-
 contrib/grep/lib/quotearg.c                        |  193 +-
 contrib/grep/lib/quotearg.h                        |   40 +-
 contrib/grep/lib/read.c                            |   85 -
 contrib/grep/lib/readdir.c                         |   98 -
 contrib/grep/lib/realloc.c                         |   79 -
 contrib/grep/lib/ref-add.sin                       |   29 -
 contrib/grep/lib/ref-del.sin                       |   24 -
 contrib/grep/lib/regcomp.c                         |  553 ++-
 contrib/grep/lib/regex.c                           |   10 +-
 contrib/grep/lib/regex.h                           |   64 +-
 contrib/grep/lib/regex_internal.c                  |  296 +-
 contrib/grep/lib/regex_internal.h                  |  140 +-
 contrib/grep/lib/regexec.c                         |  898 ++--
 contrib/grep/lib/safe-read.c                       |   16 +-
 contrib/grep/lib/safe-read.h                       |    4 +-
 contrib/grep/lib/same-inode.h                      |   22 +-
 contrib/grep/lib/save-cwd.c                        |   10 +-
 contrib/grep/lib/save-cwd.h                        |    4 +-
 contrib/grep/lib/setlocale-lock.c                  |  150 +
 contrib/grep/lib/setlocale_null.c                  |  411 ++
 contrib/grep/lib/setlocale_null.h                  |   82 +
 contrib/grep/lib/sig-handler.c                     |    3 +
 contrib/grep/lib/sig-handler.h                     |   51 +
 contrib/grep/lib/stat-time.c                       |    3 +
 contrib/grep/lib/stat-time.h                       |  252 ++
 contrib/grep/lib/stat.c                            |  138 -
 contrib/grep/lib/stdalign.in.h                     |  121 -
 contrib/grep/lib/stpcpy.c                          |   49 -
 contrib/grep/lib/str-kmp.h                         |    6 +-
 contrib/grep/lib/str-two-way.h                     |   12 +-
 contrib/grep/lib/strdup.c                          |   54 -
 contrib/grep/lib/streq.h                           |    4 +-
 contrib/grep/lib/strerror-override.c               |    4 +-
 contrib/grep/lib/strerror-override.h               |    4 +-
 contrib/grep/lib/strerror.c                        |    7 +-
 contrib/grep/lib/striconv.c                        |    4 +-
 contrib/grep/lib/striconv.h                        |    4 +-
 contrib/grep/lib/stripslash.c                      |    4 +-
 contrib/grep/lib/strnlen.c                         |   30 -
 contrib/grep/lib/strnlen1.c                        |    4 +-
 contrib/grep/lib/strnlen1.h                        |    4 +-
 contrib/grep/lib/strstr.c                          |    8 +-
 contrib/grep/lib/strtoimax.c                       |   82 -
 contrib/grep/lib/strtol.c                          |  433 --
 contrib/grep/lib/strtoll.c                         |   33 -
 contrib/grep/lib/strtoul.c                         |   19 -
 contrib/grep/lib/strtoull.c                        |   26 -
 contrib/grep/lib/strtoumax.c                       |    2 -
 contrib/grep/lib/sys-limits.h                      |   42 +
 contrib/grep/lib/trim.c                            |    6 +-
 contrib/grep/lib/trim.h                            |    4 +-
 contrib/grep/lib/unistd--.h                        |    4 +-
 contrib/grep/lib/unistd-safer.h                    |    4 +-
 contrib/grep/lib/unistr/u8-mbtoucr.c               |  149 +-
 contrib/grep/lib/unistr/u8-uctomb-aux.c            |   27 +-
 contrib/grep/lib/unistr/u8-uctomb.c                |   17 +-
 contrib/grep/lib/uniwidth/cjk.h                    |    4 +-
 contrib/grep/lib/uniwidth/width.c                  |   50 +-
 contrib/grep/lib/unlocked-io.h                     |    4 +-
 contrib/grep/lib/verify.h                          |  126 +-
 contrib/grep/lib/version-etc-fsf.c                 |    4 +-
 contrib/grep/lib/version-etc.c                     |   36 +-
 contrib/grep/lib/version-etc.h                     |    4 +-
 contrib/grep/lib/wcrtomb.c                         |   53 -
 contrib/grep/lib/wctob.c                           |   38 -
 contrib/grep/lib/wctomb-impl.h                     |   34 -
 contrib/grep/lib/wcwidth.c                         |   50 -
 contrib/grep/lib/xalloc-die.c                      |    4 +-
 contrib/grep/lib/xalloc-oversized.h                |   54 +-
 contrib/grep/lib/xalloc.h                          |   22 +-
 contrib/grep/lib/{dirfd.c => xbinary-io.c}         |   35 +-
 contrib/grep/lib/xbinary-io.h                      |   48 +
 contrib/grep/lib/xmalloc.c                         |   20 +-
 contrib/grep/lib/xstriconv.c                       |    4 +-
 contrib/grep/lib/xstriconv.h                       |    4 +-
 contrib/grep/lib/xstrtol-error.c                   |   98 -
 contrib/grep/lib/xstrtol.c                         |   53 +-
 contrib/grep/lib/xstrtol.h                         |   31 +-
 contrib/grep/src/dfa.c                             | 4184 -------------------
 contrib/grep/src/dfasearch.c                       |  355 +-
 contrib/grep/{lib/colorize.h => src/die.h}         |   21 +-
 contrib/grep/src/dosbuf.c                          |  222 -
 contrib/grep/src/egrep.sh                          |    2 -
 contrib/grep/src/grep.c                            | 1555 ++++---
 contrib/grep/src/grep.h                            |   20 +-
 contrib/grep/src/kwsearch.c                        |  243 +-
 contrib/grep/src/kwset.c                           |  817 ++--
 contrib/grep/src/kwset.h                           |   36 +-
 contrib/grep/src/pcresearch.c                      |  358 --
 contrib/grep/src/search.h                          |   38 +-
 contrib/grep/src/searchutils.c                     |  367 +-
 contrib/grep/src/system.h                          |   26 +-
 260 files changed, 15276 insertions(+), 23635 deletions(-)
 delete mode 100644 contrib/grep/lib/alignof.h
 delete mode 100644 contrib/grep/lib/alloca.c
 delete mode 100644 contrib/grep/lib/at-func.c
 create mode 100644 contrib/grep/lib/c-stack.c
 create mode 100644 contrib/grep/lib/c-stack.h
 create mode 100644 contrib/grep/lib/cdefs.h
 delete mode 100644 contrib/grep/lib/close.c
 delete mode 100644 contrib/grep/lib/closedir.c
 delete mode 100644 contrib/grep/lib/colorize-w32.c
 delete mode 100644 contrib/grep/lib/config.charset
 create mode 100644 contrib/grep/lib/dfa.c
 rename contrib/grep/{src => lib}/dfa.h (63%)
 delete mode 100644 contrib/grep/lib/dirent--.h
 delete mode 100644 contrib/grep/lib/dirent-private.h
 delete mode 100644 contrib/grep/lib/dirent-safer.h
 copy contrib/grep/lib/{dup-safer.c => dup-safer-flag.c} (56%)
 delete mode 100644 contrib/grep/lib/dup.c
 delete mode 100644 contrib/grep/lib/fchdir.c
 copy contrib/grep/lib/{fd-safer.c => fd-safer-flag.c} (54%)
 delete mode 100644 contrib/grep/lib/fdopendir.c
 create mode 100644 contrib/grep/lib/flexmember.h
 delete mode 100644 contrib/grep/lib/fnmatch.c
 delete mode 100644 contrib/grep/lib/fnmatch_loop.c
 delete mode 100644 contrib/grep/lib/fpending.c
 delete mode 100644 contrib/grep/lib/fstat.c
 delete mode 100644 contrib/grep/lib/fstatat.c
 delete mode 100644 contrib/grep/lib/getcwd-lgpl.c
 delete mode 100644 contrib/grep/lib/getdtablesize.c
 create mode 100644 contrib/grep/lib/getopt-core.h
 create mode 100644 contrib/grep/lib/getopt-ext.h
 create mode 100644 contrib/grep/lib/getopt-pfx-core.h
 create mode 100644 contrib/grep/lib/getopt-pfx-ext.h
 delete mode 100644 contrib/grep/lib/getpagesize.c
 create mode 100644 contrib/grep/lib/getprogname.c
 rename contrib/grep/lib/{btowc.c => getprogname.h} (52%)
 delete mode 100644 contrib/grep/lib/gettimeofday.c
 delete mode 100644 contrib/grep/lib/gnulib.mk
 rename contrib/grep/lib/{wctomb.c => hard-locale.c} (55%)
 copy contrib/grep/lib/{closeout.h => hard-locale.h} (53%)
 delete mode 100644 contrib/grep/lib/iconv_open.c
 delete mode 100644 contrib/grep/lib/isatty.c
 delete mode 100644 contrib/grep/lib/isblank.c
 delete mode 100644 contrib/grep/lib/iswctype-impl.h
 delete mode 100644 contrib/grep/lib/iswctype.c
 create mode 100644 contrib/grep/lib/libc-config.h
 delete mode 100644 contrib/grep/lib/localeconv.c
 create mode 100644 contrib/grep/lib/localeinfo.c
 create mode 100644 contrib/grep/lib/localeinfo.h
 delete mode 100644 contrib/grep/lib/lseek.c
 delete mode 100644 contrib/grep/lib/lstat.c
 delete mode 100644 contrib/grep/lib/malloc.c
 delete mode 100644 contrib/grep/lib/malloca.valgrind
 delete mode 100644 contrib/grep/lib/mbrlen.c
 delete mode 100644 contrib/grep/lib/mbrtowc.c
 delete mode 100644 contrib/grep/lib/mbsinit.c
 delete mode 100644 contrib/grep/lib/mbsrtowcs-state.c
 delete mode 100644 contrib/grep/lib/mbsrtowcs.c
 delete mode 100644 contrib/grep/lib/memchr.c
 delete mode 100644 contrib/grep/lib/memchr.valgrind
 delete mode 100644 contrib/grep/lib/mempcpy.c
 delete mode 100644 contrib/grep/lib/memrchr.c
 delete mode 100644 contrib/grep/lib/msvc-inval.c
 delete mode 100644 contrib/grep/lib/msvc-inval.h
 delete mode 100644 contrib/grep/lib/msvc-nothrow.c
 delete mode 100644 contrib/grep/lib/msvc-nothrow.h
 delete mode 100644 contrib/grep/lib/nl_langinfo.c
 delete mode 100644 contrib/grep/lib/open.c
 delete mode 100644 contrib/grep/lib/openat.c
 delete mode 100644 contrib/grep/lib/opendir-safer.c
 delete mode 100644 contrib/grep/lib/opendir.c
 create mode 100644 contrib/grep/lib/opendirat.c
 create mode 100644 contrib/grep/lib/opendirat.h
 delete mode 100644 contrib/grep/lib/progname.c
 delete mode 100644 contrib/grep/lib/progname.h
 delete mode 100644 contrib/grep/lib/read.c
 delete mode 100644 contrib/grep/lib/readdir.c
 delete mode 100644 contrib/grep/lib/realloc.c
 delete mode 100644 contrib/grep/lib/ref-add.sin
 delete mode 100644 contrib/grep/lib/ref-del.sin
 create mode 100644 contrib/grep/lib/setlocale-lock.c
 create mode 100644 contrib/grep/lib/setlocale_null.c
 create mode 100644 contrib/grep/lib/setlocale_null.h
 create mode 100644 contrib/grep/lib/sig-handler.c
 create mode 100644 contrib/grep/lib/sig-handler.h
 create mode 100644 contrib/grep/lib/stat-time.c
 create mode 100644 contrib/grep/lib/stat-time.h
 delete mode 100644 contrib/grep/lib/stat.c
 delete mode 100644 contrib/grep/lib/stdalign.in.h
 delete mode 100644 contrib/grep/lib/stpcpy.c
 delete mode 100644 contrib/grep/lib/strdup.c
 delete mode 100644 contrib/grep/lib/strnlen.c
 delete mode 100644 contrib/grep/lib/strtoimax.c
 delete mode 100644 contrib/grep/lib/strtol.c
 delete mode 100644 contrib/grep/lib/strtoll.c
 delete mode 100644 contrib/grep/lib/strtoul.c
 delete mode 100644 contrib/grep/lib/strtoull.c
 delete mode 100644 contrib/grep/lib/strtoumax.c
 create mode 100644 contrib/grep/lib/sys-limits.h
 delete mode 100644 contrib/grep/lib/wcrtomb.c
 delete mode 100644 contrib/grep/lib/wctob.c
 delete mode 100644 contrib/grep/lib/wctomb-impl.h
 delete mode 100644 contrib/grep/lib/wcwidth.c
 rename contrib/grep/lib/{dirfd.c => xbinary-io.c} (53%)
 create mode 100644 contrib/grep/lib/xbinary-io.h
 delete mode 100644 contrib/grep/lib/xstrtol-error.c
 delete mode 100644 contrib/grep/src/dfa.c
 copy contrib/grep/{lib/colorize.h => src/die.h} (62%)
 delete mode 100644 contrib/grep/src/dosbuf.c
 delete mode 100644 contrib/grep/src/egrep.sh
 delete mode 100644 contrib/grep/src/pcresearch.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/09d4459f3c9dceed89a46b9e67a783fae1eaa8c5


-- 
DragonFly BSD source repository


More information about the Commits mailing list