Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-16 | Disable !-command to escape to a shell. You are supposed to play, press | Tobias Stoeckmann | |
^Z, or open up another terminal if there is something else to do. ok deraadt | |||
2015-10-14 | Pledge "stdio" for simple games. | Doug Hogan | |
ok semarie@ | |||
2015-10-14 | enable 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-10 | Pledge that arithmetic only takes "stdio". | Doug Hogan | |
2015-09-27 | Delete pointless NOSTRICT comments | Philip Guenther | |
2015-09-27 | Make prompt() properly printf-like, eliminating empty dummy args | Philip Guenther | |
2015-09-27 | Annotate 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-27 | Delete obsolete lint comments | Philip Guenther | |
ok beck@ | |||
2015-09-27 | Make -Wformat=2 happier with a few foo(str) -> foo("%s", str) fixes | Philip Guenther | |
ok beck@ | |||
2015-09-25 | Fix -D in the synopsis line: | Ingo Schwarze | |
* Whitespace is allowed between -D and the variable name. * Each -D option only takes one single assignment. * Drop excessive .Sm macro. | |||
2015-09-25 | use | rather than / for alternatives and some macro fixes | Ingo Schwarze | |
2015-09-16 | big blocks need braces for support | Ted Unangst | |
2015-09-12 | use .Cm rather than .Ar for fixed string arguments | Ingo Schwarze | |
2015-09-10 | reduce .Nd to one line and kill .Tn while here | Ingo Schwarze | |
2015-09-07 | cosmetic fixes | Ted Unangst | |
2015-08-26 | remove #ifdef OK_TO_WRITE_DISK which isn't used by default. | Sebastien Marie | |
and few disambiguisations suggested by cc(1) - parentheses around && within || - explicit braces to avoid ambiguous 'else' ok doug@ | |||
2015-08-26 | Replace clock_gettime UPTIME with MONOTONIC to improve worm portability. | Rafael Zalamena | |
ok deraadt@, guenther@. | |||
2015-08-26 | Improve robots(6) by using timespec*() functions, replacing gettimeofday() | Rafael Zalamena | |
with clock_gettime(MONOTONIC) to avoid clock changes and replacing poll() with ppoll() to deal better with timespec. ok guenther@. | |||
2015-08-24 | Fix cheating bug by using unused time variables and replace poll() with | Rafael Zalamena | |
ppoll() to better use the timespec struct. ok deraadt@. | |||
2015-08-22 | remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok ↵ | Theo de Raadt | |
millert krw | |||
2015-08-21 | KNF | Theo de Raadt | |
2015-07-27 | use file system path (.Pa) semantic markup macros where appropriate. | Igor Sobrado | |
2015-07-20 | Sometimes, the computer's move was printed, but the computer's men didn't | Ingo Schwarze | |
actually move. This happened when "swap" was called earlier, and then later in the final call to makmove(), swapping back would have been required, but was erroneously denied. Patch sent in pjanzen@. It looks like the bug was already present in the original version in 4.1a BSD in 1982. | |||
2015-07-16 | flower & bird adjustments for Nunavut, from pjanzen | Theo de Raadt | |
2015-06-26 | /home/otto/ok | Otto Moerbeek | |
2015-05-20 | Fix sign compare bug introduced when rnum() was redefined to use | Todd C. Miller | |
arc4random_uniform(). From pjanzen@, OK deraadt@ | |||
2015-04-04 | from snj, netbsd -r1.56: "properly pluralize" | Jason McIntyre | |
2015-03-25 | Fix double word in quote from Ken Olsen. | Jeremie Courreges-Anglas | |
"There is no reason for any individual to have a computer in their home." | |||
2015-03-17 | Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@ | Todd C. Miller | |
2015-03-15 | tzfile.h is an internal header that should never have been installed. | Todd C. Miller | |
What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ | |||
2015-03-13 | remove the first comma from constructs like ", and," and ", or,": you can use | Jason McIntyre | |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading; | |||
2015-03-12 | Delete cribbage logging. Was never enabled and no point in enabling it. | Anthony J. Bentley | |
ok tedu@ | |||
2015-03-09 | make the worm grow faster on larger terminals. this is more fun than | Ted Unangst | |
starting with an enormous pile of worm at the start. | |||
2015-02-18 | improve ship placement interface. per the instructions, 2468 should work, | Ted Unangst | |
but the first loop didn't allow them. also allow arrow keys to work, since they work in other modes. | |||
2015-02-18 | no reason for magic numbers to be octal. just drop the leading 0. | Ted Unangst | |
still equally magic. | |||
2015-02-18 | don't cast function arguments; use reallocarray in one place | Ted Unangst | |
2015-02-18 | convert calloc/realloc pairs to reallocarray | Ted Unangst | |
2015-02-18 | Don't abuse Aq for arguments, and use a prettier escape for dashes. | Anthony J. Bentley | |
ok schwarze@ | |||
2015-02-17 | Mark up email addresses semantically with Mt. | Anthony J. Bentley | |
ok schwarze@ | |||
2015-02-10 | the stem of the b was not descending all the way to the baseline. | Ted Unangst | |
now `/usr/games/banner libressl` is extra purty. i should credit miod for reminding me of this program's existence by requesting that i not paste its output into chat. | |||
2015-02-07 | allow ctrl-d to quit after a game as well | Ted Unangst | |
2015-02-07 | use unsigned char type to avoid many casts | Ted Unangst | |
2015-02-07 | by popular request, stop giving away numeric letters. no more will the | Ted Unangst | |
appearance of 509 in a symbol name tell you what letter to guess first. | |||
2015-02-07 | unsigned char for ctype functions | Ted Unangst | |
2015-02-07 | Ignore ELF symbols containing dots or dollar signs. Suggested by millert@ | Miod Vallat | |
2015-02-07 | clear to end of line when printing error messages so that previous | Ted Unangst | |
messages don't remain and pollute the line | |||
2015-02-07 | By popular demand, allow any ELF file to be passed to -d as a word list, in | Miod Vallat | |
which case its symbols will be used. Which means that `hangman -k' is equivalent to `hangman -d /bsd' now. ok beck@ tedu@ | |||
2015-02-06 | Fix small typo found when testing tedu@'s fortune -o -m change. | Kent R. Spillner | |
ok jmc@ | |||
2015-02-06 | unsigned char is the correct type for ctype functions | Ted Unangst | |
2015-02-06 | no space after # | Ted Unangst | |