Re: [PATCH] Rope iterators: don't retain pointers when copied

2018-08-14 Thread Jonathan Wakely
On 20/05/18 21:28 -0700, Jeremy Sawicki wrote: Rope iterators sometimes contain pointers to an internal buffer inside the iterator itself. When such an iterator is copied, the copy incorrectly retains pointers to the original. This patch takes the simple approach of not copying the cached infor

[PATCH] Rope iterators: don't retain pointers when copied

2018-05-20 Thread Jeremy Sawicki
Rope iterators sometimes contain pointers to an internal buffer inside the iterator itself. When such an iterator is copied, the copy incorrectly retains pointers to the original. This patch takes the simple approach of not copying the cached information when the internal buffer is being used, i