php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Submitted: 2012-04-05 12:32 UTC Modified: 2012-04-10 11:56 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: Sockets related
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ab@php.net
New email:
PHP Version: OS:

 

 [2012-04-05 12:32 UTC] ab@php.net
Description:
------------
Test diff:

001+ Warning: socket_create(): Unable to create socket [0]: An address incompatible with the requested protocol was used.
002+  in C:\php-sdk\php53\vc9\x86\php-src\ext\sockets\tests\socket_sentto_recvfrom_unix.php on line 2
001- Warning: socket_create(): Unable to create socket [%d]: Protocol not supported in %s on line %d
003- Warning: socket_recvfrom(): unable to recvfrom [%d]: Resource temporarily unavailable in %s on line %d
004-
005- Warning: socket_sendto() expects at least 5 parameters, 4 given in %s on line %d
004+ Warning: socket_create(): Unable to create socket [0]: An address incompatible with the requested protocol was used.
005+  in C:\php-sdk\php53\vc9\x86\php-src\ext\sockets\tests\socket_sentto_recvfrom_unix.php on line 3
006+ Unable to create AF_UNIX socket
006- bool(false)
007- Received Ping!

Expected result:
----------------
test pass

Actual result:
--------------
test fail

Patches

61637.diff (last revision 2012-04-05 14:33 UTC by ab@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-05 14:33 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61637.diff
Revision:   1333636413
URL:        https://bugs.php.net/patch-display.php?bug=61637&patch=61637.diff&revision=1333636413
 [2012-04-05 14:35 UTC] ab@php.net
The test was disabled on windows as no unix sockets do exist there.
 [2012-04-10 02:00 UTC] mattficken@php.net
The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on php-5-3-r0f180a6.
 [2012-04-10 11:56 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-04-10 11:56 UTC] ab@php.net
This bug has been fixed in SVN.

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/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-10 12:06 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=15e26c6d4a9431d40d65d50611794cb930c88b58
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2012-04-10 12:06 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bbab846adaa268cbce7c809f3d471177991877a9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2012-04-10 12:06 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e9e468914523f46d8453078b116e4cfd0a5f18f9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2012-04-18 09:44 UTC] laruence@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e9e468914523f46d8453078b116e4cfd0a5f18f9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2012-07-24 23:36 UTC] rasmus@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e9e468914523f46d8453078b116e4cfd0a5f18f9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2013-11-17 09:32 UTC] laruence@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e9e468914523f46d8453078b116e4cfd0a5f18f9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2014-10-07 23:27 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=bbab846adaa268cbce7c809f3d471177991877a9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2014-10-07 23:27 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=15e26c6d4a9431d40d65d50611794cb930c88b58
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2014-10-07 23:37 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=bbab846adaa268cbce7c809f3d471177991877a9
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 [2014-10-07 23:38 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=15e26c6d4a9431d40d65d50611794cb930c88b58
Log: Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC