* Do not adns_cancel in the middle of adns_forallqueries.
* strlen returns size_t, not int; fixed up everywhere relevant.
Closes #393970. (Bug exists only where int and ssize_t differ.)
+ * Use correct errno value for error writing to new .main during compact.
Portability fixes:
* Remove unecessary assertion of val<=0xffffffffUL where uint32_t val;