com php-src: Fix issue with -- in phpdbg command line: sapi/phpdbg/phpdbg.c

From: Date: Wed, 21 Dec 2016 01:42:23 +0000
Subject: com php-src: Fix issue with -- in phpdbg command line: sapi/phpdbg/phpdbg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96396@lists.php.net to get a copy of this message
Commit: becda86ae5dbf7abb1afabd14e84113b2785a345 Author: Bob Weinand <bobwei9@hotmail.com> Wed, 21 Dec 2016 02:42:23 +0100 Parents: 3c6a2fb08cb8c0dddc16a62a816249c68132773d Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=becda86ae5dbf7abb1afabd14e84113b2785a345 Log: Fix issue with -- in phpdbg command line Changed paths: M sapi/phpdbg/phpdbg.c Diff: diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 9cc6028..8153772 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1576,7 +1576,7 @@ phpdbg_main: quit_immediately = phpdbg_startup_run > 1; /* set exec if present on command line */ - if (!read_from_stdin && argc > php_optind && (strcmp(argv[php_optind-1], "--") != SUCCESS)) { + if (!read_from_stdin && argc > php_optind) { if (!exec && strlen(argv[php_optind])) { exec = strdup(argv[php_optind]); }

« previous php.cvs (#96396) next »