com php-src: enable console options for remote on win: phpdbg.c
| From: | Bob Weinand | Date: | Sun, 12 Oct 2014 18:05:26 +0000 |
| Subject: | com php-src: enable console options for remote on win: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82564@lists.php.net to get a copy of this message | ||
Commit: 449fd307e40e00e582b4b79ac18b13c1c530bc23
Author: Anatol Belski <ab@php.net> Sun, 12 Oct 2014 20:05:26 +0200
Parents: d5ce62c17c8246d43c43cd9177b76f8febc0b9e5
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=449fd307e40e00e582b4b79ac18b13c1c530bc23
Log:
enable console options for remote on win
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index 9707b99..d30e495 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -663,10 +663,8 @@ const opt_struct OPTIONS[] = { /* {{{ */
{'r', 0, "run"},
{'E', 0, "step-through-eval"},
{'S', 1, "sapi-name"},
-#ifndef _WIN32
{'l', 1, "listen"},
{'a', 1, "address-or-any"},
-#endif
{'V', 0, "version"},
{'-', 0, NULL}
}; /* }}} */
@@ -985,10 +983,9 @@ int main(int argc, char **argv) /* {{{ */
signal_struct.sa_flags = SA_SIGINFO | SA_NODEFER;
sigio_struct.sa_sigaction = phpdbg_sigio_handler;
sigio_struct.sa_flags = SA_SIGINFO;
-
+#endif
address = strdup("127.0.0.1");
-#endif
#ifdef PHP_WIN32
_fmode = _O_BINARY; /* sets default for file streams to binary */