felipe          Thu Oct 16 13:04:30 2008 UTC

  Modified files:              
    /php-src/ext/standard       exec.c 
  Log:
  - Revert
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/exec.c?r1=1.137&r2=1.138&diff_format=u
Index: php-src/ext/standard/exec.c
diff -u php-src/ext/standard/exec.c:1.137 php-src/ext/standard/exec.c:1.138
--- php-src/ext/standard/exec.c:1.137   Thu Oct 16 12:21:27 2008
+++ php-src/ext/standard/exec.c Thu Oct 16 13:04:30 2008
@@ -16,7 +16,7 @@
    |         Ilia Alshanetsky <[EMAIL PROTECTED]>                             |
    +----------------------------------------------------------------------+
  */
-/* $Id: exec.c,v 1.137 2008/10/16 12:21:27 indeyets Exp $ */
+/* $Id: exec.c,v 1.138 2008/10/16 13:04:30 felipe Exp $ */
 
 #include <stdio.h>
 #include "php.h"
@@ -254,6 +254,8 @@
        char *p = NULL;
        size_t estimate = (2 * l) + 1;
 
+       TSRMLS_FETCH();
+
        cmd = safe_emalloc(2, l, 1);
 
        for (x = 0, y = 0; x < l; x++) {
@@ -342,6 +344,8 @@
        char *cmd;
        size_t estimate = (4 * l) + 3;
 
+       TSRMLS_FETCH();
+
        cmd = safe_emalloc(4, l, 3); /* worst case */
 
 #ifdef PHP_WIN32



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

Reply via email to