This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Restore ptr correctly
authorKarl Williamson <public@khwilliamson.com>
Thu, 17 Mar 2011 03:38:02 +0000 (21:38 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 17 Mar 2011 04:23:56 +0000 (22:23 -0600)
commit68f986b99c71413001891e9dff012b525d6d6d78
treee4ae67885990001023e9177729d872a6e055343f
parent75950e1cc27ab84d1342fb35e9bd50cca71fb090
regcomp.c: Restore ptr correctly

oldp contains the pointer that we want to get to.  Use that instead
of a possibly invalid assumption about length
regcomp.c