com php-src: clean build on windows: phpdbg_cmd.c phpdbg _list.c phpdbg_prompt.c

From: Date: Wed, 20 Nov 2013 18:07:45 +0000
Subject: com php-src: clean build on windows: phpdbg_cmd.c phpdbg _list.c phpdbg_prompt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74743@lists.php.net to get a copy of this message
Commit: a0c824955c4be72600fa90246c09e753511d4d13 Author: krakjoe <joe.watkins@live.co.uk> Wed, 20 Nov 2013 18:07:45 +0000 Parents: 17baeaa9325530947c96c06df32b20f47f9859da Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a0c824955c4be72600fa90246c09e753511d4d13 Log: clean build on windows Changed paths: M phpdbg_cmd.c M phpdbg_list.c M phpdbg_prompt.c Diff: diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index f14004f..a440655 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -370,8 +370,7 @@ int phpdbg_do_cmd(const phpdbg_command_t *command, const phpdbg_input_t *input T phpdbg_error( "No function executed !!"); } - -out: + return rc; } /* }}} */ diff --git a/phpdbg_list.c b/phpdbg_list.c index 241983d..30370ac 100644 --- a/phpdbg_list.c +++ b/phpdbg_list.c @@ -140,7 +140,7 @@ void phpdbg_list_file(const char *filename, long count, long offset, int highlig HANDLE fd, map; #endif int all_content = (count == 0); - unsigned int line = 0, displayed = 0; + int line = 0, displayed = 0; if (VCWD_STAT(filename, &st) == FAILURE) { phpdbg_error("Failed to stat file %s", filename); diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 20246cb..a800e46 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -485,7 +485,7 @@ out: PHPDBG_COMMAND(eval) /* {{{ */ { - zend_bool stepping = (PHPDBG_G(flags) & PHPDBG_IS_STEPPING); + zend_bool stepping = ((PHPDBG_G(flags) & PHPDBG_IS_STEPPING)==PHPDBG_IS_STEPPING); zval retval; char *code = NULL;

« previous php.cvs (#74743) next »