aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/open.c
Commit message (Collapse)AuthorAgeFilesLines
* lib9: avoid unportable use of d_namlen in dirreadRuss Cox2020-05-181-2/+1
| | | | Fixes #395.
* lib9: use opendir/readdir to read directoriesRuss Cox2020-05-171-183/+187
| | | | | | | | | | | | | getdirentries(2) has been deprecated on macOS since 10.5 (ten releases ago). Using it requires disabling 64-bit inodes, but that in turn makes binaries incompatible with some dynamic libraries, most notably ASAN. At some point getdirentries(2) will actually be removed. For both these reasons, switch to opendir/readdir. A little clunky since we have to keep the DIR* hidden away to preserve the int fd interfaces, but it lets us remove a bunch of OS-specific code too.
* lib9: move seek into open.cRuss Cox2020-05-171-1/+6
| | | | More preparation for opendir.
* lib9: add closeRuss Cox2020-05-171-0/+7
| | | | More preparation for opendir.
* lib9: merge create, open, dirread into open.cRuss Cox2020-05-171-0/+270
| | | | Preparation for using opendir.
* better error messagersc2005-03-181-0/+1
|
* hard code list of plan 9 services in case they are not in /etc/servicesrsc2005-02-111-0/+4
|
* debugging for sam, and an old fix forgottenrsc2005-01-071-0/+4
|
* do not depend on flockrsc2005-01-071-1/+6
|
* get this rightrsc2004-06-111-3/+4
|
* add OLOCKrsc2004-06-111-2/+10
|
* Crsc2004-05-141-0/+3
| | | | | | | little bugs . wq VS: ----------------------------------------------------------------------
* little bug fixesrsc2004-05-141-1/+1
|
* add -W to specify window size.rsc2004-04-291-0/+5
| | | | various other little fixes.
* Today's changes.rsc2004-03-251-8/+1
| | | | More changes.
* More files related to user-level file servers.rsc2003-12-111-0/+38
Also add acme!