Changeset 21014 in vbox for trunk/src/VBox/Additions/linux/sharedfolders/utils.c
- Timestamp:
- Jun 29, 2009 7:30:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r20707 r21014 470 470 in += nb; 471 471 472 #if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 31) 473 nb = utf32_to_utf8 (uni, out, out_bound_len); 474 #else 472 475 nb = utf8_wctomb (out, uni, out_bound_len); 476 #endif 473 477 if (nb < 0) { 474 478 LogFunc(("nls->uni2char failed %x %d\n", … … 528 532 wchar_t uni; 529 533 534 #if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 31) 535 nb = utf8_to_utf32 (in, in_bound_len, &uni); 536 #else 530 537 nb = utf8_mbtowc (&uni, in, in_bound_len); 538 #endif 531 539 if (nb < 0) { 532 540 LogFunc(("utf8_mbtowc failed(%s) %x:%d\n",
Note:
See TracChangeset
for help on using the changeset viewer.