summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2015-11-11creat() -> open equiv; from Frederic NowakTheo de Raadt
2015-11-10another open(path, 0)...Theo de Raadt
2015-11-10pledge "stdio rpath" at the top. (Ricardo's 2nd chunk which reducesTheo de Raadt
further is not placed right, so I ignored it for now) from Ricardo Mestre
2015-11-10replace open(path, 0) with open(path, O_RDONLY). amazing to still findTheo de Raadt
sloppiness like this.
2015-11-05delete unused code that won't let you play if the load is too highTed Unangst
2015-11-05ctype functions take unsigned char values.Philip Guenther
Fix redrawing of the challenge cube (-c option) when <esc>word is used. ok mmcc@
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-10-25just dump the help on stdout with messing about with a pager.Ted Unangst
makes pledge much simpler. from jan stary
2015-10-24Cast toupper()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast islower()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast isprint()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast toupper()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast isalpha()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast isblank()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast isdigit()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast isblank()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast toupper()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast islower()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast islower()'s argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-10-23include err.h for err() calls added with recent pledge commits.Jonathan Gray
2015-10-22Pledge "stdio rpath tty" for hangman(6).Doug Hogan
Patch submitted by Ricardo Mestre <serial@helheim.mooo.com> ok semarie@
2015-10-16Disable !-command to escape to a shell. You are supposed to play, pressTobias Stoeckmann
^Z, or open up another terminal if there is something else to do. ok deraadt
2015-10-14Pledge "stdio" for simple games.Doug Hogan
ok semarie@
2015-10-14enable pledge(2) in rain(6)Sebastien Marie
it is libcurses program: at init it needs "stdio rpath getpw tty", and after drop to just "stdio tty". "tty" is needed at end for restoring the tty. initial patch from doug@ ok doug@ deraadt@
2015-10-10Pledge that arithmetic only takes "stdio".Doug Hogan
2015-09-27Delete pointless NOSTRICT commentsPhilip Guenther
2015-09-27Make prompt() properly printf-like, eliminating empty dummy argsPhilip Guenther
2015-09-27Annotate funcs with __attribute__((printf(...))) and clean up the fallout:Philip Guenther
* lots of foo(str) --> foo("%s", str) transformations * one totally insane foo(fmt, ap) --> vfoo(fmt, ap) conversion: how did this ever work? * prefer const char[] over char* for static format strings, as it lets gcc check the format and eliminates an unnecessary pointer ok beck@
2015-09-27Delete obsolete lint commentsPhilip Guenther
ok beck@
2015-09-27Make -Wformat=2 happier with a few foo(str) -> foo("%s", str) fixesPhilip Guenther
ok beck@