view .hgsigs @ 1785:86d10d5d4915

Fix case where DMGrowBuf is growing backwards and needs to be reallocated in dmGrowBufRealloc() and the data is moved to the "end" of the newly grown buffer. Previously we used clrsize as data size, but that is (in retrospect) obviously incorrect. Use old buffer size instead.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 13 Jun 2018 01:39:06 +0300
parents d14d1101616f
children 377e96524145
line wrap: on
line source

c63e24f9aa9a33754d8304de329762e2124b44a3 0 iEYEABECAAYFAlK0whAACgkQEKYophN0wRIn8gCgi8cKraR7h9xu789E1NVkpVUZ+3gAmwSQ7HuQoekaIft28TjwnZkaE1hF
606a7ee88198401a1f44c40457624b79533b6001 0 iQIcBAABCgAGBQJSvrMLAAoJELcF5zUwe6rjS7QQAIwwoSxKwrYJJEanAngKDXUuQbq9S3hh3IidiBekzWh7+NRVZUbMg7ZKHqn62XCTkK7+vnNvXjy8wHxIVDemyA5Bbx3DEkmfqM6HKBC5CVR8Iz8I3t9k8MDtVV6ynToA291Q/kJEFxJBXRrJr5vNiXFAApQ3OjRELbiezatwHCDTFiRnp43fP6A0o90B2QDNCdwCV23H1vd3EfeFhj2dcMPqxNNdovb+0H0BkYNeJLnAjK+9f5yA+yWv2VLJTV0g9qr4a13aVueURhcBaUozfRDsulv7+AMbVzozbM1RFfzQIurQMnUqtwR3rlyjGfMa015jLi2FK1tBMfuL0GUzI8p/3vb7xvpkjli/QUq53/W4xYBb+lr2WCCgpWkFsEalsCGNK30rjiHOwgUcRfw4y+9UuKA3UUcAetMZPa346Wu1PRVfMK3VviBcV5IYd9lzcVGEfgBQLkGkuVS0lNrvXUtvxJ+4qCT1prK/QEJNbvhlxlQD2ar4p3Ioc96l4BeP8jkiURxoEZf/xlfVr5CEI6a7MdrWBJPSLH4Zj13xkSPpFWK30S28CYB7qFJDxtvf0YlDlRbWcyXSKASSSxl+AP2/QPiG+Xzy0hHXKWq+BjfWNqU/JVTRAq9ZrAimBS0p2lLAjEd/VBZarqYNce/LvMWWyMT7FhbpTqzOz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