* smallprint.cc (hex_str): New const string.
(__rn): Drop str and use hex_str instead. (__small_vsprintf): If 'l' modifier has been found, print subsequent multibyte or wide char string using the s, S, or W options in extended hex value layout. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Print WCHAR and resulting multibyte filename in extended hex value layout in debug output.
This commit is contained in:
@ -2053,7 +2053,8 @@ go_ahead:
|
||||
res = 0;
|
||||
}
|
||||
|
||||
syscall_printf ("%d = readdir (%p, %p) (%s)", res, dir, &de, res ? "***" : de->d_name);
|
||||
syscall_printf ("%d = readdir (%p, %p) (L\"%lS\" > \"%ls\")", res, dir, &de,
|
||||
res ? NULL : &fname, res ? "***" : de->d_name);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user