mlwmohawk               Mon Jan 30 16:20:02 2006 UTC

  Modified files:              
    /php-src/ext/xmldbx xmldbx.c 
  Log:
  Added thread stuff for --enable-pcntl
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/xmldbx/xmldbx.c?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/xmldbx/xmldbx.c
diff -u php-src/ext/xmldbx/xmldbx.c:1.1 php-src/ext/xmldbx/xmldbx.c:1.2
--- php-src/ext/xmldbx/xmldbx.c:1.1     Sat Jan 28 02:29:54 2006
+++ php-src/ext/xmldbx/xmldbx.c Mon Jan 30 16:20:02 2006
@@ -40,8 +40,6 @@
  "end" tags.
 
  Mark L. Woodward <markw@mohawksoft.com>, 2005
- Documentation and new version can be found at:
- http://www.mohawksoft.org
 
  1/19/2006
  Add "REFERENCE" type to XML stream and it should be ignored by all but PHP
@@ -61,10 +59,9 @@
  xml decoder stage, if a variable has a REFERENCE attribute, it is pushed on 
the
  zval stack and later searched when a REFERENCE type is encountered in the XML
  stream.
-
 */
 
-/* $Id: xmldbx.c,v 1.1 2006/01/28 02:29:54 mlwmohawk Exp $ */
+/* $Id: xmldbx.c,v 1.2 2006/01/30 16:20:02 mlwmohawk Exp $ */
 
 // Needed to compile on PHP
 #define XMLDBX_USING_PHP
@@ -182,10 +179,12 @@
 {
        va_list arglist;
        static char buffer[4096];
+       TSRMLS_FETCH();
        va_start(arglist, fmt);
        vsnprintf(buffer, sizeof(buffer), fmt, arglist);
        va_end(arglist);
-       php_log_err(buffer);
+
+       php_log_err(buffer TSRMLS_CC);
 }
 /* }}} */
 
@@ -529,6 +528,7 @@
        zval *lent;
        char key[128];
        int cbkey;
+       TSRMLS_FETCH();
        ELOG("aeSetSessionVars");
 
 #ifdef ERR_DEBUG

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

Reply via email to