Descriptionexp/norm: fixed two unrelated bugs in normalization library.
1) incorrect length given for out buffer in String.
2) patchTail bug that could cause characters to be lost
when crossing into the out-buffer boundary.
Added tests to expose these bugs. Also slightly improved
performance of Bytes() and String() by sharing the reorderBuffer
across operations.
Fixes issue 2567.
Patch Set 1 #Patch Set 2 : diff -r 8259f4a19e6e https://go.googlecode.com/hg #Patch Set 3 : diff -r 8259f4a19e6e https://go.googlecode.com/hg #
Total comments: 1
Patch Set 4 : diff -r d0d549cc5e45 https://go.googlecode.com/hg #
MessagesTotal messages: 4
|