Commit: 277b10a5c059437754452b6de7e42aa6bde64e13 Author: krakjoe <joe.watk...@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, " ", ¶ms); +#else + const char *cmd = strtok_s(cmd_line, " ", ¶ms); +#endif size_t expr_len = cmd != NULL ? strlen(cmd) : 0; while (command && command->name) { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php