2006-12-29 David Kilzer <ddkilzer@webkit.org>
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Dec 2006 03:03:43 +0000 (03:03 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Dec 2006 03:03:43 +0000 (03:03 +0000)
commit4b2c680cbcde23e4016f32735c231e3464bda855
treefd1f276c264a231180f24ea51f98fa00086081bb
parent29bb3de357e75aed23811de59cec56792cff0d73
2006-12-29  David Kilzer  <ddkilzer@webkit.org>

        Reviewed by Geoff.

        Update embedded pcre library from version 6.1 to 6.2.  From the pcre ChangeLog:

        3. Added "b" to the 2nd argument of fopen() in dftables.c, for non-Unix-like
           operating environments where this matters.

        5. Named capturing subpatterns were not being correctly counted when a pattern
           was compiled. This caused two problems: (a) If there were more than 100
           such subpatterns, the calculation of the memory needed for the whole
           compiled pattern went wrong, leading to an overflow error. (b) Numerical
           back references of the form \12, where the number was greater than 9, were
           not recognized as back references, even though there were sufficient
           previous subpatterns.

        * pcre/dftables.c: Item 3.
        (main):
        * pcre/pcre.h: Updated version.
        * pcre/pcre_compile.c: Item 5.
        (read_repeat_counts):
        (pcre_compile2):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/pcre/dftables.c
JavaScriptCore/pcre/pcre.h
JavaScriptCore/pcre/pcre_compile.c