mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 03:19:40 +00:00
Commit patch file that contains some of the needed changes for our binutils in RosBE
svn path=/trunk/RosBE/; revision=1352
This commit is contained in:
parent
4119fa38bb
commit
60af452dba
30
Patches/binutils-changes-against-2.22.patch
Normal file
30
Patches/binutils-changes-against-2.22.patch
Normal file
@ -0,0 +1,30 @@
|
||||
diff -Nru binutils/binutils/winduni.c binutils2/binutils/winduni.c
|
||||
--- a/binutils/winduni.c 2009-09-02 09:22:32.000000000 +0200
|
||||
+++ b/binutils/winduni.c 2012-01-14 18:05:29.000000000 +0100
|
||||
@@ -85,7 +85,7 @@
|
||||
{ 1258, "WINDOWS-1258" },
|
||||
{ CP_UTF7, "UTF-7" },
|
||||
{ CP_UTF8, "UTF-8" },
|
||||
- { CP_UTF16, "UTF-16" },
|
||||
+ { CP_UTF16, "UTF-16LE" },
|
||||
{ (rc_uint_type) -1, NULL }
|
||||
};
|
||||
|
||||
@@ -682,7 +682,7 @@
|
||||
|
||||
if (!mb || !iconv_name)
|
||||
return 0;
|
||||
- iconv_t cd = iconv_open ("UTF-16", iconv_name);
|
||||
+ iconv_t cd = iconv_open ("UTF-16LE", iconv_name);
|
||||
|
||||
while (1)
|
||||
{
|
||||
@@ -755,7 +755,7 @@
|
||||
|
||||
if (!u || !iconv_name)
|
||||
return 0;
|
||||
- iconv_t cd = iconv_open (iconv_name, "UTF-16");
|
||||
+ iconv_t cd = iconv_open (iconv_name, "UTF-16LE");
|
||||
|
||||
while (1)
|
||||
{
|
Loading…
Reference in New Issue
Block a user