cpdup(1): Check the return value of asprintf() and exit if fails
authorAaron LI <aly@aaronly.me>
Tue, 29 Oct 2019 14:52:48 +0000 (22:52 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 29 Oct 2019 14:52:48 +0000 (22:52 +0800)
commit60374ee737a54737c84ce87a466edbf6457dbbda
tree21b904cf35bc04a1b97940d85d24c4c1f6427267
parent7651dbc3b90feb35888498b6f866ebd994258a5a
cpdup(1): Check the return value of asprintf() and exit if fails

See also: https://github.com/DragonFlyBSD/cpdup/commit/90aee43e060104e974f623924c3dfc0a4359ceb5

Reported by GCC 9.x on Arch Linux.
bin/cpdup/cpdup.c