diff options
author | Clément Chigot <chigot@adacore.com> | 2022-06-28 09:42:12 +0200 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2022-06-28 16:55:24 +0200 |
commit | 68e80d96a84282d547f3b3c1234c99009521630c (patch) | |
tree | 2ed72fc7ad30f012a2c35e5a4b99410c53b8abb2 /gdb/ia64-tdep.c | |
parent | fadaf8f7f99f8fe81aa8403c5d90c95cae5bd2ec (diff) | |
download | fsf-binutils-gdb-68e80d96a84282d547f3b3c1234c99009521630c.zip fsf-binutils-gdb-68e80d96a84282d547f3b3c1234c99009521630c.tar.gz fsf-binutils-gdb-68e80d96a84282d547f3b3c1234c99009521630c.tar.bz2 |
bfd: handle codepage when opening files on MinGW
Even if MS docs say that CP_UTF8 should always be used on newer
applications, forcing it might produce undefined filename if the
encoding isn't UTF-8.
MinGW seems to call ___lc_codepage_func() in order to retrieve the
current thread codepage.
bfd/ChangeLog:
* bfdio.c (_bfd_real_fopen): Retrieve codepage with
___lc_codepage_func() on MinGW.
Diffstat (limited to 'gdb/ia64-tdep.c')
0 files changed, 0 insertions, 0 deletions