errx when errno won't be set.
use reallocarray
cvsimport
add reallocarray.c
make util.h nicer