Revert "PATCH: regex longjmp flaws"
authorNicholas Clark <nick@ccl4.org>
Mon, 21 Jan 2013 19:58:49 +0000 (20:58 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 19 Mar 2013 10:53:19 +0000 (11:53 +0100)
commitd2d8c7119aed4a86948ff470a23161eb2f07f551
treefac1c83caf7b5e5a203f143ce2045284a148313c
parent1067df30ae91aad06ce62722a2ebd437e25358bf
Revert "PATCH: regex longjmp flaws"

This reverts commit 595598ee1f247e72e06e4cfbe0f98406015df5cc.

The netbsd - 5.0.2 compiler pointed out that the recent changes to add
longjmps to speed up some regex compilations can result in clobbering a
few values.  These depend on the compiled code, and so didn't show up in
other compiler's warnings.  This patch reinitializes them after a
longjmp.

[With a lot of hand editing in regcomp.c, to propagate the changes through
subsequent commits.]
regcomp.c
regcomp.h