Commits
- Commit:
5129baa3c338a573e4056f27d639646733a673be
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve comment regarding 9p Tstat compliance
- Commit:
e39620502e6b32eee63d515326263d3566914cb0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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!
- Commit:
a1aa276fa0d5c922c6ed4cd0d80021e5520473b0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
trailing whitespaces
- Commit:
5c0ab198bd9dc104f8f15969c32d8df70c86e0fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
6150fab38e3d157bc176cc8321a5e4e8302ba6b8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ftp: add lpwd
- Commit:
17388298de0507aa98bcaaf59f77b736cf89920e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ftp: add lcd
- Commit:
3f03529f911621de2dedee358e728d5ac49fbb74
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ftp: connect to !tls servers
- Commit:
5817aa44982898c5130ee119f4a9964e00741401
- From:
- Omar Polo <op@omarpolo.com>
- Date:
more to do
- Commit:
423f02f5dbaa7b68b446483dc25e22b00db8a07e
- From:
- cage <cage@invalid>
- Date:
Merge branch 'main' of ssh://omarpolo.com/kamid
- Commit:
7a89af2b85e5db320ff2be364cb6c0cc0473663d
- From:
- cage <cage@invalid>
- Date:
- [regress-extra] added test to read a directory's entries.
- Commit:
10608cdee8414c8ed151254edc1c567fdaa94c44
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve documentation
- Commit:
e513055dbfa92ddddeb27953a5aab002e45c9620
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement bye/quit
- Commit:
5b4636cd1721d8606502faafe3c12549804218d2
- From:
- cage <cage@invalid>
- Date:
- [regress-extra] added test for directory removing.
- Commit:
4e7ba404b7b61cc31fb04eb681ebea50aa98e476
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement `bell' and `verbose'; set verbosity to 0
- Commit:
946136f3d256f3fa3611ba24287b440c53b69390
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix tremove wrt directories
we can't call unlinkat with `.' as path, so the hackish solution (but
also the only viable one I can see) is to unlinkat ../<dirname>.
Furthermore, calling unlinkat(f->dir->fd, f->fpath) was incorrect
because f->dir->fd already points to the directory.