* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Drop

explicit transformation of special DOS chars.
	* strfuncs.cc (sys_wcstombs): Always transform UNICODE private use area
	back to ASCII.
This commit is contained in:
Corinna Vinschen
2008-05-14 10:21:22 +00:00
parent 39ce0b45e9
commit 455acb11a4
3 changed files with 20 additions and 5 deletions

View File

@ -1645,10 +1645,6 @@ fhandler_disk_file::readdir_helper (DIR *dir, dirent *de, DWORD w32_err,
}
}
/* Transform special DOS chars back to normal. */
for (USHORT i = 0; i < fname->Length / sizeof (WCHAR); ++i)
if ((fname->Buffer[i] & 0xff00) == 0xf000)
fname->Buffer[i] &= 0xff;
#if 0
if (pc.isencoded ())
{