cvs: php4 /main streams.c
| From: | Wez Furlong | Date: | Mon, 06 Jan 2003 23:27:03 +0000 |
| Subject: | cvs: php4 /main streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17693@lists.php.net to get a copy of this message | ||
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 <julien.soula@free.fr>
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)