avoid memcpy(malloc(0), ..., 0), which is not portable.
authordjm <djm@openbsd.org>
Tue, 7 May 2024 23:40:53 +0000 (23:40 +0000)
committerdjm <djm@openbsd.org>
Tue, 7 May 2024 23:40:53 +0000 (23:40 +0000)
commit8ddfd4312e1e17bf94249e589f42e9344c74a91b
tree58747cdd6a75bb22c2d35f90dea9662c03040605
parentbf6c80fc1ebc35dfe3dc69cec9322b823bb3f834
avoid memcpy(malloc(0), ..., 0), which is not portable.
ok florian@
lib/libc/asr/getrrsetbyname_async.c