Tree
- Tree:
6e470755d6e1ed612f1d4b8242eeaa59dca0d727
- Date:
- Message:
- 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.
README | commits | blame |
README
# Thanks to Caerwyn Jones for preparing the dictionary # and modifying dict to handle it. # This is the Project Gutenberg original Webster's dictionary wget -O- https://9fans.github.io/plan9port/dist/pgw.tar.bz2| bunzip2| tar xf - # This is the Project Gutenberg original Roget's thesaurus wget -O- https://9fans.github.io/plan9port/dist/roget.tar.bz2| bunzip2| tar xf -