Commit Briefs


Russ Cox

libthread: simplify

Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.



Russ Cox

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.




Russ Cox

all: remove Linux 2.4 vs 2.6 detection

Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)


Russ Cox

libthread: rm FreeBSD 4 code

Pretty sure FreeBSD 4 is gone now. :-)


David du Colombier

include: define _DEFAULT_SOURCE

Since glibc 2.20, the _BSD_SOURCE and _SVID_SOURCE macros are deprecated in favor of the _DEFAULT_SOURCE macro. See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes Change-Id: I18dd6a698f3f5aa51d1e45bf53b031bb061e17e8 Reviewed-on: https://plan9port-review.googlesource.com/1500 Reviewed-by: David du Colombier <0intro@gmail.com>


Russ Cox

openbsd updates (thanks Pascal Stumpf)

R=rsc http://codereview.appspot.com/6401049


Russ Cox

libmach, acid, db: 64-bit support


Russ Cox

u.h: add int8, uint8

R=rsc http://codereview.appspot.com/1791044


Russ Cox

make flate crc32 work when ulong is 64 bits

R=, rsc CC= http://codereview.appspot.com/203061


Russ Cox

lib9: fix dirread/stat mismatch on Snow Leopard

http://codereview.appspot.com/116096


Russ Cox

more licensing