Commit Briefs
add TODO regarding Y2038 (main)
configure.ac: expand the check for sys/tree.h
do not just see if it's there, make sure it is usable. Currently, alpine sys/tree.h generates code that doesn't work with both gcc and clang (for different reasons!) so make sure we can actually use it, or fall back on the bundled version.
kamiftp: improve readline completions
Now `ls pref<TAB>' will complete all the paths starting with `pref' in the current directory; before it was only working for sub-directories.
kamiftp: refactor ftp_remote_files
no functional changes
fix #ifdef typo; add __dead to err functions
in d444fd2 I forgot to rename HAVE_ERR to HAVE_ERRC too.
add compat for errc and warnc
while here also fix the prototypes for warn and warnx