#44440 [Opn->Csd]: st_blocks undefined under BeOS
ID: 44440
Updated by: felipe@php.net
Reported By: jonathonfreeman at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: BeOS R5
PHP Version: 5.2.6RC2
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
BeOS also have st_blksize.
Previous Comments:
------------------------------------------------------------------------
[2008-03-15 06:35:53] jonathonfreeman at gmail dot com
Correction: I changed line 235, not 237.
------------------------------------------------------------------------
[2008-03-15 06:31:57] jonathonfreeman at gmail dot com
Description:
------------
Build fails under BeOS R5 in /main/streams/memory.c:237 -- structure
has no member named `st_blocks'
Not sure if it's the appropriate fix, but I changed line 237 to this:
#if !defined(PHP_WIN32) && !defined(__BEOS__)
And PHP built successfully.
Reproduce code:
---------------
Build under BeOS R5.
Expected result:
----------------
Successfully build PHP.
Actual result:
--------------
Build fails.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44440&edit=1
Thread (3 messages)