ID: 20827 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Compile Failure Operating System: Tru64 PHP Version: 4.3.0RC2 New Comment:
It has not yet been applied to the 4.3 branch Previous Comments: ------------------------------------------------------------------------ [2003-01-15 16:13:27] [EMAIL PROTECTED] It's not fixed in CVS, error shows up in the same place: /local/pkg/apache/php-20030115/main/streams.c: In function '_php_stream_stat': /local/pkg/apache/php-20030115/main/streams.c:677: structure has no member named `_F64_stat' ------------------------------------------------------------------------ [2003-01-06 17:39:56] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-01-06 16:18:35] [EMAIL PROTECTED] Same thing happens with 4.3.0 release, in the same file main/streams.c but on line 677 ------------------------------------------------------------------------ [2002-12-05 08:52:35] [EMAIL PROTECTED] When compile PHP-4.3.0RC2 on Tru64 arch, I got : [.............] /usr/local/tmp/php-4.3.0RC2/main/streams.c: In function `_php_stream_stat': /usr/local/tmp/php-4.3.0RC2/main/streams.c:655: structure has no member named `_F64_stat' [.............] The bogus line is : return stream->ops->stat(stream, ssb TSRMLS_CC); Indeed, on this arch, 'stat' is a macro to '_F64_stat' whereas it use here as a member of struct '_php_stream_ops'. So I've added parenthesis to prevent macro expansion : return (stream->ops->stat)(stream, ssb TSRMLS_CC); PS: I saw the same pb on CVS version. Sincerly, Julien ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20827&edit=1