tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
games
/
tetris
/
at
master
11 files
Makefile
remove setgid flag. in turn, move score files into user's home directory. will let theo buehler continue with a smaller pledge set.
10 years ago
input.c
replace gettimeofday with monotonic gettime. from Scott Cheloha ok tb
8 years ago
input.h
replace gettimeofday with monotonic gettime. from Scott Cheloha ok tb
8 years ago
scores.c
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.
6 years ago
scores.h
Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>, and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX
11 years ago
screen.c
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.
6 years ago
screen.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
shapes.c
More cleanup and sorting on header section
10 years ago
tetris.6
No need for a conditional to choose between nroff and troff.
8 years ago
tetris.c
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
4 years ago
tetris.h
Unveil tetris.
7 years ago