ref: 11a8149d673d96bec17d6487b5fa95b5bf5ffd6b
parent: bb561ee3b18be69e52b17cedde50eac96ea409da
author: Simon Tatham <anakin@pobox.com>
date: Thu Apr 20 09:52:13 EDT 2023
Use a dedicated copy function to copy dsfs. Previously we were duplicating the contents of a dsf using straight-up memcpy. Now there's a dsf_copy function wrapping the same memcpy. For the moment, this still has to take a size parameter, because the size isn't stored inside the dsf itself. But once we make a proper data type, it will be.