summaryrefslogtreecommitdiffstats
path: root/tetris
Commit message (Collapse)AuthorAgeFilesLines
...
* select() -> poll()mycroft2002-09-191-4/+6
|
* de-registerwiz2002-06-025-40/+40
|
* Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross2002-02-081-3/+3
|
* Update to the new t_agetstr() API.christos2001-11-021-6/+3
|
* Whitespace and/or punctuation fixes.wiz2001-04-021-2/+2
|
* Fix core dump.blymn2000-05-241-2/+2
|
* Converted games to use the new termcap interface.blymn2000-05-222-11/+20
|
* Clean up error reporting in tetris.jsm2000-01-212-11/+7
|
* Fix high score table formatting bug.jsm2000-01-211-3/+2
| | | Bug report and fix from Malcolm Parsons <malcolm@bits.bris.ac.uk>.
* Declare variables as extern in headers rather than using linker commons.jsm2000-01-013-13/+26
|
* update after change to return value of tputs() third argumentlukem1999-10-042-5/+5
|
* Fix -Wsign-compare warnings.jsm1999-09-181-2/+2
|
* Convert tetris to use <err.h> functions.jsm1999-09-171-15/+8
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-123-3/+26
| | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-4/+4
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* Add use of `const' where appropriate to the games.jsm1999-09-085-19/+19
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* Adapt to change of "termcap.h".tron1999-08-141-2/+2
|
* Newline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205abs1999-03-221-4/+4
|
* Remove unneeded "mips compiler bug" workaround from original code importedsimonb1999-02-111-5/+1
| | | in 1994.
* only show preview if the -p option is givenhubertf1999-01-034-16/+16
|
* Add previewing of next shape. Old (previous) behaviour can behubertf1999-01-036-27/+62
| | | restored by compiling with NO_PREVIEW defined.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-132-5/+5
|
* bzero->memsetperry1998-08-102-4/+4
|
* install games that need it setgid.mrg1997-11-201-1/+2
|
* use <termcap.h>lukem1997-10-143-21/+8
|
* minor WARNSifylukem1997-10-123-53/+59
|
* fix typo; from Hubert Feyrer in PR bin/4070mikel1997-09-011-2/+3
|
* Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:cgd1997-05-291-2/+2
| | | | | | | .Dd is supposed to be invoked like: .Dd month day, year e.g. ".Dd January 25, 1989", rather than: .Dd "month day, year" which is what these pages did.
* bfunctions -> memfunctionstls1997-01-131-2/+2
|
* Removed "extern int errno"; Added #include <errno.h> if not already present.jtc1996-02-061-2/+1
|
* Fix usages of ospeed.mycroft1995-04-291-2/+2
|
* Use POSIX signal and tty semantics.mycroft1995-04-281-31/+49
|
* NetBSD RCS Idscgd1995-04-2212-0/+23
|
* specify man pages the new way.cgd1994-12-221-1/+1
|
* ascii tetris!cgd1994-05-0612-0/+2053