com php-src: fix cli codepage reset: win32/codepage.c

From: Date: Mon, 11 Jul 2016 07:24:41 +0000
Subject: com php-src: fix cli codepage reset: win32/codepage.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92904@lists.php.net to get a copy of this message
Commit: 2e3903b2d62976087b3ce74275372052a9922a36 Author: Anatol Belski <ab@php.net> Mon, 11 Jul 2016 09:22:21 +0200 Parents: 6955790107e56f4f776e2b7414582ee9dc28f9c0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2e3903b2d62976087b3ce74275372052a9922a36 Log: fix cli codepage reset Changed paths: M win32/codepage.c Diff: diff --git a/win32/codepage.c b/win32/codepage.c index 267cc79..409c527 100644 --- a/win32/codepage.c +++ b/win32/codepage.c @@ -387,7 +387,7 @@ PW32CP const struct php_win32_cp *php_win32_cp_do_update(const char *enc) cur_cp = php_win32_cp_get_by_enc(enc); if (!strcmp(sapi_module.name, "cli")) { - php_win32_cp_cli_update(); + php_win32_cp_cli_do_setup(cur_cp->id); } return cur_cp;

« previous php.cvs (#92904) next »