]> CyberLeo.Net >> Repos - FreeBSD/releng/9.3.git/commit
MFS9 r267879:
authorgjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Jun 2014 19:22:40 +0000 (19:22 +0000)
committergjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Jun 2014 19:22:40 +0000 (19:22 +0000)
commitdf33bf824c533321c9c601d754931179bc379457
treecb453594f2c205dcd79696a9424290eaa83e7985
parenta5114235e8f2017849790304843935ccc9440cd8
MFS9 r267879:
  Fix a bug in bsdgrep(1) where patterns are not correctly
  detected.

  Certain criteria must be met for this bug to show up:

   * the -w flag is specified, and
   * neither -o or --color are specified, and
   * the pattern is part of another word in the line, and
   * the other word that contains the pattern occurs first

PR: 181973
Approved by: re (marius)
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/releng/9.3@267881 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/grep/util.c