GNOME Bugzilla – Bug 723933
Don't assume we can always read BYTES_PER_READ
Last modified: 2014-02-09 13:16:58 UTC
In GTK+ master we've added a number of unicode characters to the docs. This makes devhelp fail to correctly read the .devhelp2 index file. This is because it assumes reading less than the requested number of bytes means EOF.
Created attachment 268540 [details] [review] Don't assume we can always read BYTES_PER_READ If the next unicode character is too wide for the buffer the total number of bytes read will be less than BYTES_PER_READ.
Attachment 268540 [details] pushed as 5ac7850 - Don't assume we can always read BYTES_PER_READ