master
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
Revert my changes in r1.60 back to nicm@'s latest for now.
Add --brief and --dereference, used by xdg-open/xdg-mime.
Convert sbin and usr.bin to check for imsgbuf_init failure and add imsgbuf_allow_fdpass where needed.
Remove old unused prototype, from Ilya Kaliman.
Accept hexadecimal numbers without 0x if they aren't a valid decimal number.
Add support for 'name' and 'use' which allows more of the latest magic files to work unchanged. (We are still missing 'indirect' and a few other bits.)
Replace fgetln with POSIX getline, even though file was using fgetln in the idiomatic safe way. Also, check for stream errors with ferror and err(1, "") in that case.
Regex flags should include REG_NEWLINE and REG_ICASE should actually be used if specified.
remove macro instances from arbitrary string width specifiers. for example
Tidy up some #include lines.
Style nits; no binary change.
asprintf returns -1, not an arbitrary value < 0. Also upon error the (very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated
Merge xmalloc.[ch] files across base, skipping OpenSSH for now.