Commits


more to do!


improve comment regarding 9p Tstat compliance


fix the stat on directories For directories, f-dir->fd is *the* file descriptor associated with that directory, so doing a fstatat(f->dir->fd, f->fpath) was trying to do a lookup for f->fpath (the directory name) *inside* the directory itself. bug spotted by cage, thanks!


trailing whitespaces


use NL_TEXTMAX for the strerror_r buffer the strerror_r(3) man page mentions that it returns a message that's up to NL_TEXTMAX bytes long (including the NUL.) strerror_r can fail with ERANGE if the buffer is not large enough, and that's probably the case of some "funny" Rerrors that cage gets from time to time.


ftp: add lpwd


ftp: add lcd


ftp: connect to !tls servers


more to do


Merge branch 'main' of ssh://omarpolo.com/kamid


- [regress-extra] added test to read a directory's entries.


improve documentation


implement bye/quit


- [regress-extra] added test for directory removing.


implement `bell' and `verbose'; set verbosity to 0