Use gnuregex.h instead of a private header whose declarations are wrong.
commit985dfe803634a90113518bcd78f685dc8461384a
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 4 Sep 2007 17:08:38 +0000 (4 17:08 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 4 Sep 2007 17:08:38 +0000 (4 17:08 +0000)
tree3f5163d88c31010011da732da04212e7bb770191
parent42c2fd5c70367e557b61bfcbafb6cbb417f63770
Use gnuregex.h instead of a private header whose declarations are wrong.

This private header declares the return type of re_search to be off_t,
i.e. 64 bit.  Our (old) gnu regex library however only returns ints.  As a
result, the generated opcode erroneously only looked at the sign of %edx,
which happened to contain a random value.

DragonFly-bug:  <http://bugs.dragonflybsd.org/issue801>
Reported-by: Vincent Stemen <vs1@crel.us>
contrib/cvs-1.12/README.DELETED
contrib/cvs-1.12/diff/diff.h
contrib/cvs-1.12/lib/regex.h [deleted file]
contrib/cvs-1.12/src/cvs.h