]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fixed broken UTF-16 support on *nix systems.
authorClaybird <claybird.without.wing@gmail.com>
Mon, 4 Nov 2019 05:58:37 +0000 (14:58 +0900)
committerClaybird <claybird.without.wing@gmail.com>
Wed, 6 Nov 2019 11:34:31 +0000 (20:34 +0900)
commited39c46365f21d20605bae079ec7a161c09e8f2a
treef9102e7374ee19ef0867c027dbe1591a194e1673
parent9826b05c4a3dd28a1c34be215973f8b9e73e0aa2
Fixed broken UTF-16 support on *nix systems.

In the broken code, wchar_t was incorrectly assumed to be 16-bit.
This was not a portable way.

Fixed code uses archive_string and codepage information, instead of using archive_wstring.
libarchive/archive_read_support_format_lha.c