]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
sed(1): convert sed to use REG_STARTEND more explicitly.
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Jun 2016 20:54:02 +0000 (20:54 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Jun 2016 20:54:02 +0000 (20:54 +0000)
commit14e3642b1f24570630fec38a7e8646b464a25433
tree107f1846b0b5fc6aa179e1bee183ff7483bfa6e5
parent9c650a106f6f447ae08ac87720db1d79c08aea60
sed(1): convert sed to use REG_STARTEND more explicitly.

Summarizing the findings in the OpenBSD list:

This solves a reproduceable issue with very recent Mesa where REG_NOTBOL
combined with a match at the begin of the string causes our regex library
to treat the word as not begin of word.

Bump __FreeBSD_version: JIC we hit the issue in recent Mesa ports.

PR: 209352, 209387 (exp-run)
Taken from:     openbsd-tech (Martijn van Duren)
MFC after: 1 month

git-svn-id: svn://svn.freebsd.org/base/stable/10@302228 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sys/param.h
usr.bin/sed/process.c