fix build under -DPERL_NO_COW
authorDavid Mitchell <davem@iabyn.com>
Fri, 19 Jul 2013 19:07:56 +0000 (20:07 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 28 Jul 2013 09:33:39 +0000 (10:33 +0100)
commit3ff69bd60a3227fd6f6dbd653d028e5b4c5e86f9
tree40b7b0ab13b8a23cf2b4b52a338f0d394961d99b
parente322109a5f2971453e7404fd28ea1c8245701578
fix build under -DPERL_NO_COW

An earlier commit in this branch fixed up capturing on intuit-only
matches.
However, the new code grabbed the buffer before setting offs[0].start,
offs[0].end.  Under old-style non-COW, it uses offs[0].start and end to
determine what subset to the buffer to capture. So set them first!
regexec.c