diff options
author | Ron Yorston <rmy@pobox.com> | 2023-03-17 13:20:53 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-03-17 13:20:53 +0000 |
commit | cb50586aedc9725fb14dbb25263bba1598726037 (patch) | |
tree | 679fd1e914693d5c900243a780ab812e69a3f3ec /include | |
parent | 87e7e7b1e61caa87112e3cf6527b606086b6b688 (diff) | |
download | busybox-w32-cb50586aedc9725fb14dbb25263bba1598726037.tar.gz busybox-w32-cb50586aedc9725fb14dbb25263bba1598726037.tar.bz2 busybox-w32-cb50586aedc9725fb14dbb25263bba1598726037.zip |
win32: delay adjusting code page
Commit 93a63809f9 (win32: add support for the euro currency symbol)
caused all invocations of busybox-w32 to change code page 850 to
858. This has been known to cause problems with fonts in PowerShell
(GitHub issue #207).
Delay changing the code page until an i/o operation is imminent.
Instances of PowerShell started by the `drop` applet during ssh login
thus no longer have their code page adjusted.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 0ccced2a3..a94d90767 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -554,7 +554,6 @@ void qsort_string_vector_case(char **sv, unsigned count) FAST_FUNC; | |||
554 | 554 | ||
555 | const char *get_busybox_exec_path(void); | 555 | const char *get_busybox_exec_path(void); |
556 | void init_winsock(void); | 556 | void init_winsock(void); |
557 | void init_codepage(void); | ||
558 | 557 | ||
559 | int has_bat_suffix(const char *p); | 558 | int has_bat_suffix(const char *p); |
560 | int has_exe_suffix(const char *p); | 559 | int has_exe_suffix(const char *p); |