com php-src: ...: phpdbg_prompt.c

From: Date: Tue, 12 Nov 2013 13:21:55 +0000
Subject: com php-src: ...: phpdbg_prompt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75064@lists.php.net to get a copy of this message
Commit: 277b10a5c059437754452b6de7e42aa6bde64e13 Author: krakjoe <joe.watkins@live.co.uk> Tue, 12 Nov 2013 13:21:55 +0000 Parents: fe7a3ef5781cf92c7dc190c649a90452400782f1 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=277b10a5c059437754452b6de7e42aa6bde64e13 Log: .. Changed paths: M phpdbg_prompt.c Diff: diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 3040b80..6bfc16a 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt..c @@ -615,7 +615,11 @@ static const phpdbg_command_t phpdbg_prompt_commands[] = { int phpdbg_do_cmd(const phpdbg_command_t *command, char *cmd_line, size_t cmd_len TSRMLS_DC) /* {{{ */ { char *params = NULL; +#ifndef _WIN32 const char *cmd = strtok_r(cmd_line, " ", &params); +#else + const char *cmd = strtok_s(cmd_line, " ", &params); +#endif size_t expr_len = cmd != NULL ? strlen(cmd) : 0; while (command && command->name) {

« previous php.cvs (#75064) next »