/dev/clipboard pasting with small read() buffer
Fri Aug 17 13:05:00 GMT 2012
On 17.08.2012 11:22, Corinna Vinschen wrote:
>> Anyway, my updated patch (using MB_LEN_MAX) proposes a change here as well.
> Thanks. I dropped the hint that 4 is enough. I'm not so sure about
> that. Linux, for instance, defines MB_LEN_MAX as 16.
SunOS defines it as 5.
says in glibc it is typically 6 (which would be needed for original
UTF-8 covering 31-bit ISO-10646).
> Other than that, patch applied.
More information about the Cygwin-patches