aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/open.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18lib9: avoid unportable use of d_namlen in dirreadRuss Cox1-2/+1
Fixes #395.
2020-05-17lib9: use opendir/readdir to read directoriesRuss Cox1-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.
2020-05-17lib9: move seek into open.cRuss Cox1-1/+6
More preparation for opendir.
2020-05-17lib9: add closeRuss Cox1-0/+7
More preparation for opendir.
2020-05-17lib9: merge create, open, dirread into open.cRuss Cox1-0/+270
Preparation for using opendir.
2005-03-18better error messagersc1-0/+1
2005-02-11hard code list of plan 9 services in case they are not in /etc/servicesrsc1-0/+4
2005-01-07debugging for sam, and an old fix forgottenrsc1-0/+4
2005-01-07do not depend on flockrsc1-1/+6
2004-06-11get this rightrsc1-3/+4
2004-06-11add OLOCKrsc1-2/+10
2004-05-14Crsc1-0/+3
little bugs . wq VS: ----------------------------------------------------------------------
2004-05-14little bug fixesrsc1-1/+1
2004-04-29add -W to specify window size.rsc1-0/+5
various other little fixes.
2004-03-25Today's changes.rsc1-8/+1
More changes.
2003-12-11More files related to user-level file servers.rsc1-0/+38
Also add acme!