diff options
author | Russ Cox <rsc@swtch.com> | 2020-05-17 20:02:07 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-05-17 20:15:41 -0400 |
commit | 8cb7308f3a24249ed091c7decf22005c64099783 (patch) | |
tree | 6e470755d6e1ed612f1d4b8242eeaa59dca0d727 /font/gb/Kai.5a00.24 | |
parent | 16f60479e16e3714b376e633c6b902a32e0607ea (diff) | |
download | plan9port-8cb7308f3a24249ed091c7decf22005c64099783.tar.gz plan9port-8cb7308f3a24249ed091c7decf22005c64099783.tar.bz2 plan9port-8cb7308f3a24249ed091c7decf22005c64099783.zip |
lib9: use opendir/readdir to read directories
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.
Diffstat (limited to 'font/gb/Kai.5a00.24')
0 files changed, 0 insertions, 0 deletions