|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44440 st_blocks undefined under BeOS
Submitted: 2008-03-15 06:31 UTC Modified: 2008-03-15 10:35 UTC
From: jonathonfreeman at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.6RC2 OS: BeOS R5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jonathonfreeman at gmail dot com
New email:
PHP Version: OS:


 [2008-03-15 06:31 UTC] jonathonfreeman at gmail dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-15 06:35 UTC] jonathonfreeman at gmail dot com
Correction: I changed line 235, not 237.
 [2008-03-15 10:35 UTC]
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
Thank you for the report, and for helping us make PHP better.

BeOS also have st_blksize.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 18 10:03:37 2021 UTC