nlopess         Sun Oct  7 12:21:05 2007 UTC

  Modified files:              
    /php-src/ext/pcre   php_pcre.c 
  Log:
  MFB: fix ZTS build
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/php_pcre.c?r1=1.224&r2=1.225&diff_format=u
Index: php-src/ext/pcre/php_pcre.c
diff -u php-src/ext/pcre/php_pcre.c:1.224 php-src/ext/pcre/php_pcre.c:1.225
--- php-src/ext/pcre/php_pcre.c:1.224   Sun Oct  7 12:14:59 2007
+++ php-src/ext/pcre/php_pcre.c Sun Oct  7 12:21:05 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_pcre.c,v 1.224 2007/10/07 12:14:59 nlopess Exp $ */
+/* $Id: php_pcre.c,v 1.225 2007/10/07 12:21:05 nlopess Exp $ */
 
 /*  TODO
  *  php_pcre_replace_impl():
@@ -187,7 +187,7 @@
 /* }}} */
 
 /* {{{ static make_subpats_table */
-static char **make_subpats_table(int num_subpats, pcre_cache_entry *pce)
+static char **make_subpats_table(int num_subpats, pcre_cache_entry *pce 
TSRMLS_DC)
 {
        pcre_extra *extra = pce->extra;
        int name_cnt = 0, name_size, ni = 0;
@@ -673,7 +673,7 @@
         * allocate the table, even though there may be no named subpatterns. 
This
         * avoids somewhat more complicated logic in the inner loops.
         */
-       subpat_names = make_subpats_table(num_subpats, pce);
+       subpat_names = make_subpats_table(num_subpats, pce TSRMLS_CC);
        if (!subpat_names) {
                RETURN_FALSE;
        }
@@ -1148,7 +1148,7 @@
         * allocate the table, even though there may be no named subpatterns. 
This
         * avoids somewhat more complicated logic in the inner loops.
         */
-       subpat_names = make_subpats_table(num_subpats, pce);
+       subpat_names = make_subpats_table(num_subpats, pce TSRMLS_CC);
        if (!subpat_names) {
                return NULL;
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to