master
$OpenBSD$
fix HISTORY; from Sevan Janiyan <venture37 at geeklan dot co dot uk>; checked with http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/man/man1
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
More correction of section 3 layout. directory->opendir, fts->fts_open, getcap->cgetent. pwcache->user_from_uid. And then repair references. ok jmc