hholzgra                Thu May 29 16:24:00 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/main  user_streams.c 
  Log:
  MFH
  
Index: php4/main/user_streams.c
diff -u php4/main/user_streams.c:1.29.2.1 php4/main/user_streams.c:1.29.2.2
--- php4/main/user_streams.c:1.29.2.1   Tue Dec 31 11:26:30 2002
+++ php4/main/user_streams.c    Thu May 29 16:24:00 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: user_streams.c,v 1.29.2.1 2002/12/31 16:26:30 sebastian Exp $ */
+/* $Id: user_streams.c,v 1.29.2.2 2003/05/29 20:24:00 hholzgra Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -628,12 +628,12 @@
  * relevant fields into the statbuf provided */
 static int statbuf_from_array(zval *array, php_stream_statbuf *ssb TSRMLS_DC)
 {
-       zval *elem;
+       zval **elem;
 
 #define STAT_PROP_ENTRY(name)                        \
        if (SUCCESS == zend_hash_find(Z_ARRVAL_P(array), #name, sizeof(#name), 
(void**)&elem)) {     \
-               convert_to_long(elem);                                                 
                  \
-               ssb->sb.st_##name = Z_LVAL_P(elem);                                    
                  \
+               convert_to_long(*elem);                                                
                   \
+               ssb->sb.st_##name = Z_LVAL_PP(elem);                                   
                   \
        }
 
        STAT_PROP_ENTRY(dev);



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

Reply via email to