Commits
- 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.
- Commit:
890a4ba04fadc9e446dfa580f159612bfeb82c04
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/HAVE_READLINE/HAVE_LIBREADLINE/
- Commit:
c7f4e1bdfe5b7c7a55f9c97c6098cd057643288b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dis-entagle qids from the directory file descriptor
I've been using the qid both as the 9p protocol element *and* as a
wrapper with refcounting around a directory file descriptor.
I can do better, let's split the qid struct into a "proper" qid and dir.
Dir is now the wrapper with refcounting around the directory file
descriptor and qid is just the 9p struct. fids are still associated
with a dir, but now they store the directory name if they point to the
directory. The previous pattern to detect if a fid is pointing to a dir
thus changed: instead of assuming that fpath is "", look at the qid
struct.
- Commit:
7ee9de09935049e0aa2c5b3f87c821833edda1fe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement commands, add ls and tweak np_read* functions
- Commit:
e41d2c2b9a245fd97e4a6e1d1936de112964dfe3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add test "can't walk from a file"