wez             Mon Jan  6 18:27:03 2003 EDT

  Modified files:              
    /php4/main  streams.c 
  Log:
  Fix for Bug #20827: where stat is a macro on Tru64.
  Patch from <[EMAIL PROTECTED]>
  
  
Index: php4/main/streams.c
diff -u php4/main/streams.c:1.141 php4/main/streams.c:1.142
--- php4/main/streams.c:1.141   Sun Jan  5 23:06:40 2003
+++ php4/main/streams.c Mon Jan  6 18:27:03 2003
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: streams.c,v 1.141 2003/01/06 04:06:40 pollita Exp $ */
+/* $Id: streams.c,v 1.142 2003/01/06 23:27:03 wez Exp $ */
 
 #define _GNU_SOURCE
 #include "php.h"
@@ -679,7 +679,7 @@
                return -1;
        }
 
-       return stream->ops->stat(stream, ssb TSRMLS_CC);
+       return (stream->ops->stat)(stream, ssb TSRMLS_CC);
 }
 
 PHPAPI char *php_stream_locate_eol(php_stream *stream, char *buf, size_t buf_len 
TSRMLS_DC)



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

Reply via email to