26 Aug
2020
26 Aug
'20
1:56 p.m.
On 8/26/20 8:35 AM, Richard W.M. Jones wrote:
Time for some name bike-shedding. How about:
nbdkit_strdup_intern (const char *) nbdkit_strndup_intern (const char *s, size_t)
and if we need something that permits embedded NUL (right now I don't have such a use) we could add nbdkit_memdup_intern (const void *s, size_t)
Seems good to me. Do you think we'll be able to get the final APIs into nbdkit this week? I don't much care about finishing the implementation, just that any APIs we add wont need to be changed later.
Yes. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org