deraadt
e5e55cd690
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.
5 years ago
guenther
98ac59d5a1
Use O_CLOEXEC when opening fds local to a function
ok jca@ krw@
7 years ago
espie
94a41f5c11
scrape $Id$ tags.
okay deraadt@, millert@, krw@
19 years ago
deraadt
3a5df51764
cast not needed
20 years ago
deraadt
2462bc4b83
knf; otto ok
20 years ago
millert
679cd5d050
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.
21 years ago
fgsch
fb18813faf
some -Wall and spaces cleanup, scsi.c left.
some brave soul should look at it.
22 years ago
millert
f110e3be6d
More <sys/file.h> vs. <fcntl.h> and open() flags fixes.
25 years ago
downsj
b2f1975b66
util.h: new resting place
opendev.h: ok, so I merged it with util.h
opendev.h: use util.h
everything else: use "util.h"
28 years ago
deraadt
a5010d31aa
libutil
28 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago