com php-src: unix sockets aren't available on windows: sapi/phpdbg/phpdbg_wait.c
| From: | Anatol Belski | Date: | Wed, 29 Oct 2014 18:39:46 +0000 |
| Subject: | com php-src: unix sockets aren't available on windows: sapi/phpdbg/phpdbg_wait.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82879@lists.php.net to get a copy of this message | ||
Commit: f842b8f4be9350dfd0444633c62fe7a5c76c54a5
Author: Anatol Belski <ab@php.net> Wed, 29 Oct 2014 19:39:46 +0100
Parents: fdbfcc0b51b5d78777625d5be93a282e23cc0540
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f842b8f4be9350dfd0444633c62fe7a5c76c54a5
Log:
unix sockets aren't available on windows
Changed paths:
M sapi/phpdbg/phpdbg_wait.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_wait.c b/sapi/phpdbg/phpdbg_wait.c
index 95024b8..6f9eea9 100644
--- a/sapi/phpdbg/phpdbg_wait.c
+++ b/sapi/phpdbg/phpdbg_wait.c
@@ -365,6 +365,7 @@ void phpdbg_webdata_decompress(char *msg, int len TSRMLS_DC) {
PHPDBG_COMMAND(wait) /* {{{ */
{
+#ifndef PHP_WIN32
struct sockaddr_un local, remote;
int rlen, sr, sl;
unlink(PHPDBG_G(socket_path));
@@ -414,6 +415,7 @@ PHPDBG_COMMAND(wait) /* {{{ */
efree(data);
phpdbg_notice("wait", "import=\"success\"", "Successfully
imported request data, stopped before executing");
+#endif
return SUCCESS;
} /* }}} */