Commits


add headers in compat/ as EXTRA_DIST


fix project name; `kamid' not -portable


fix kamid_SOURCES; kami.h is in lib/


remove useless file from before the -portable merge


CLOEXEC of all opened fds since we may want to spawn other programs, mark every file descriptor as cloexec. Fortunately, we don't end up opening many of them!


ftp: add `page' command The `page' command fetches a file and displays it using less(1). To do this, refactor fetch_fid to accept a file descriptor and add a spawn utility function.


simplify TAILQ_INSERT dance when a tailq is proprerly initialized, there's no need to check if it's empty and insert in head position.


simplify client proc bootstrap Drop the IMSG_AUTH_DIR imsg type and stuff everything in a struct kd_auth_proc that gets sent via IMSG_AUTH. Tweak the necessary bits to compile. While here also start documenting what data we send over which imsg. As an added benefit, now we're sending fixed-size messages instead of variable length strings.


move table definitions to table.h


- [regress-extra] added 'run-all-tests-with-debugger' to run the tests but landing on the debugger if an assertion fails.


improve the readme


drop --disable-debugger when invoking sbcl the debugger is already disabled by some lisp tricks, so it's redundant. Moreover, we need a way to optionally toggle the debugger, so hardcoding the flag isn't useful at all.


prepend builddir/kamid to PATH before running the lisp regress suite I'm not proud of that hack, which is a double hack in fact, but I've already wasted too much time on this. The first hack is the PATH mangling, and the second the $$(cd ... ; pwd) to obtain an *absolute* path: for build in-tree top_builddir is just `.' which isn't really helpful after a cd.


hook the tests


9ps: chdir to script basename before including it In the *-suite.9ps files we have stuff like `include "lib.9ps"`, but when ninepscript is called from the *root* directory that include will fail. This is a workaround to allow including file relatively and allows to run the regress suite.