* fhandler_clipboard.cc (fhandler_dev_clipboard::read): Use
read-ahead buffer for reading Windows clipboard if caller's buffer is too small for complete characters. * include/limits.h: Remove outdated TODO comment.
This commit is contained in:
@ -36,8 +36,7 @@ details. */
|
||||
|
||||
/* Maximum length of a multibyte character. */
|
||||
#ifndef MB_LEN_MAX
|
||||
/* TODO: This is newlib's max value. We should probably rather define our
|
||||
own _mbtowc_r and _wctomb_r functions which are only codepage dependent. */
|
||||
/* Use value from newlib. */
|
||||
#define MB_LEN_MAX 8
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user