Bug #64340 [ReO->Csd]: sockets tests failed
| From: | laruence@php.net | Date: | Sun, 17 Nov 2013 09:31:45 +0000 |
| Subject: | Bug #64340 [ReO->Csd]: sockets tests failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-182790@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64340&edit=1
ID: 64340
Updated by: laruence@php.net
Reported by: reeze@php.net
Summary: sockets tests failed
-Status: Re-Opened
+Status: Closed
Type: Bug
Package: Sockets related
Operating System: Mac OSX 10.8
PHP Version: 5.5.0alpha5
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=3f67d5ae434236be1db2ee54baf85725ac7b6a56
Log: Revert "Fixed Bug #64340 (sockets tests failed) Patch by Reeze"
Previous Comments:
------------------------------------------------------------------------
[2013-10-02 14:32:07] mike@php.net
Any update on this?
------------------------------------------------------------------------
[2013-03-05 11:34:00] laruence@php.net
there is one workaround:
#ifdef __APPLE__
#define IPV6_PKTINFO IPV6_2292PKTINFO
#define IPV6_HOPLIMIT IPV6_2292HOPLIMIT
#define IPV6_NEXTHOP IPV6_2292NEXTHOP
#define IPV6_HOPOPTS IPV6_2292HOPOPTS
#define IPV6_DSTOPTS IPV6_2292DSTOPTS
#define IPV6_RTHDR IPV6_2292RTHDR
#define IPV6_PKTOPTIONS IPV6_2292PKTOPTIONS
#endif
will keep finding more better solution
------------------------------------------------------------------------
[2013-03-05 10:47:57] reeze@php.net
Hi,
the attached patch is intend to fix IPV6_PKTINFO failure, the commit didn't
contain all of the fix. but only the macro define.
The patch isn't break build. but the partially applied patch.
only define __APPLE_USE_RFCxxxx is not enough. the rest of the changes
should be applied too.
I couldn't figure out a better solution which didn't require header
inclusion order, since the macro itself required to be defined first.
------------------------------------------------------------------------
[2013-03-05 06:05:33] laruence@php.net
I revert the previous fix, since the build broken.
I am wondering, if don't fix that, what's the problem is?
thanks
------------------------------------------------------------------------
[2013-03-05 06:04:06] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=3f67d5ae434236be1db2ee54baf85725ac7b6a56
Log: Revert "Fixed Bug #64340 (sockets tests failed) Patch by Reeze"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=64340
--
Edit this bug report at https://bugs.php.net/bug.php?id=64340&edit=1