|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44233 MSG_PEEK undefined under BeOS R5
Submitted: 2008-02-24 07:42 UTC Modified: 2008-02-27 00:32 UTC
From: jonathonfreeman at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.5 OS: BeOS R5
Private report: No CVE-ID:
 [2008-02-24 07:42 UTC] jonathonfreeman at gmail dot com
Build fails under BeOS R5 in /main/streams/xp_socket.c:280 -- MSG_PEEK undeclared.

According to BeOS docs, flags passed to socket functions should always be 0. I added this, and PHP built successfully:

/* BeOS does not have MSG_PEEK.  */
#ifndef MSG_PEEK
#define MSG_PEEK 0

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-02-27 00:32 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.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 01:01:34 2015 UTC