Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-25 | Use a NUMKEYS macro instead of magic and use a more familiar idiom | Theo Buehler | |
in for loops. ok stsp, bcallah | |||
2018-02-07 | slightly reduce the difficulty of the adventure game that is reading | Ted Unangst | |
the battlestar code by reformatting a few lines. special request from mlarkin so he'll go back to fixing meltdown. | |||
2018-01-23 | Fix table wrt missing element and `, detailed analysis and diff from | Otto Moerbeek | |
David Fifield; ok tb@ | |||
2018-01-12 | apostrophe fix; | Jason McIntyre | |
2017-12-24 | Consolidate printf(3) calls at the end of main(). | cheloha | |
Makes reading the classification algorithm easier. ok tb@ | |||
2017-12-24 | Use more libm. | cheloha | |
adj360() is a modulo operation: use fmod(3) to simplify things. Adding 0.5 to the phase to steer implicit truncation is a hack: use lround(3) to simplify things. Product of a discussion with pjanzen@/jca@/tb@ regarding floating-point rounding and the importance of correctly classifying a gibbous moon. ok pjanzen@ jca@ tb@ | |||
2017-12-23 | As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3). | cheloha | |
ok tb@ jca@ | |||
2017-12-11 | The code can be simplified by using clock_gettime(2)'s CLOCK_REALTIME | Theo Buehler | |
instead of gettimeofday(2). From Scott Cheloha, ok jca | |||
2017-11-25 | than -> then | Theo Buehler | |
from scott cheloha | |||
2017-11-02 | Straightforward conversion to strtonum. Slight change of behavior in that | Theo Buehler | |
trailing whitespace is no longer permitted when invoked from stdin. From Scott Cheloha. ok jca | |||
2017-10-27 | Use <elf.h> instead of <elf_abi.h> | Martin Pieuchot | |
ok jasper@, jca@, deraadt@ | |||
2017-08-15 | typo: on -> of | Theo Buehler | |
From Scott Cheloha | |||
2017-08-13 | replace gettimeofday with monotonic gettime. from Scott Cheloha | Ted Unangst | |
ok tb | |||
2017-08-10 | convert source code frequencies to match those in the man page | Ted Unangst | |
2017-08-10 | Treat backspace as printable in sanitize() for non-UTF8 locales. | Todd C. Miller | |
Fixes printing of fortunes that use a combination of backspace and underbars for underlining in non-UTF8 locales. OK schwarze@ | |||
2017-07-13 | Convert fprintf(stderr, ...) to errx/warnx (with slight change of output). | Theo Buehler | |
From Scott Cheloha | |||
2017-07-13 | Use an umlaut in Mobius and uppercase one instance of möbius visible in | Theo Buehler | |
bentley's previous commit. | |||
2017-07-13 | Convert fortunes to UTF-8 from the old "backspace punctuation" method. | Anthony J. Bentley | |
suggested by tedu, ok schwarze@ stsp@ tb@ | |||
2017-07-12 | Inspect LC_CTYPE and if it isn't UTF-8, weed out bytes that are not | Ingo Schwarze | |
printable ASCII. That makes using UTF-8 in fortune datfiles safe. Potential usefulness of UTF-8 in fortune datfiles noticed by bentley@. OK tedu@ millert@. | |||
2017-07-11 | User count checks have been compiled out since 1998, get rid of them. | Frederic Cambus | |
OK mlarkin@ | |||
2017-07-10 | remove misc. depend and yacc nits that no longer matter. | Marc Espie | |
okay millert@ | |||
2017-07-09 | have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate | Marc Espie | |
files. This fixes up parallel builds in the default case. FreeBSD does something similar. okay millert@ | |||
2017-07-09 | Remove old junk. From Matthew Martin | Theo Buehler | |
ok bentley | |||
2017-07-07 | we're not shooting yacception | Marc Espie | |
okay millert@ | |||
2017-07-01 | missed BUILDFIRST. Allow stuff to proceed without depends | Marc Espie | |
as found by krw@ | |||
2017-06-30 | Add missing rot13 function prototype | Ricardo Mestre | |
2017-06-23 | Remove unused confirm() and datime() functions. | Frederic Cambus | |
Those functions are unused and have been compiled out since 1998, it's time to let them go. OK sthen@, tom@, mestre@ | |||
2017-06-20 | Fix a path in Makequest and remove hack.sh (it never worked). | Michal Mazurek | |
OK tb@ | |||
2017-06-19 | No need for a conditional to choose between nroff and troff. | Anthony J. Bentley | |
ok jmc@ | |||
2017-06-15 | Remove the Installation section and fix a nonexistent path. | Michal Mazurek | |
OK tb@ (fix paths diff) deraadt@ | |||
2017-06-12 | /usr/games/lib doesn't exist any more, use the new path. | Michal Mazurek | |
OK tb@ deraadt@ | |||
2017-06-12 | destroy lint remnants. | Marc Espie | |
okay millert@ deraadt@ | |||
2017-06-09 | Correct number of players, the program enforces a range from 2 to 9. | Frederic Cambus | |
OK tb@, jmc@ | |||
2017-06-04 | Use proper bool types in fortune(6). | Frederic Cambus | |
OK tb@, phessler@ (previous version) | |||
2017-06-02 | Fix an infinite loop in fortune(6). | Frederic Cambus | |
When invoking fortune with the -l option (to get long dictums only), the program gets stuck in an infinite loop because fortlen() doesn't return the fortune length correctly. OK mestre@, tb@, deraadt@, schwarze@ | |||
2017-05-31 | late game space battles require tty pledge to clear screen, etc. | Ted Unangst | |
from tomr | |||
2017-05-28 | remove some escapes that are unnecessary/harmful. ok jmc schwarze | Ted Unangst | |
2017-05-28 | remove unused macro | Ted Unangst | |
2017-05-28 | there are no bugs; i fixed them | Ted Unangst | |
2017-05-28 | if your dying scream would escape the death field, realign to stay within | Ted Unangst | |
2017-05-28 | high scores printed too far to the right, move it left a little | Ted Unangst | |
2017-05-26 | forgot to remove mention of deleted dump/restart. | Ted Unangst | |
also delete ancient todo file: Frankly, I am getting pretty sick of playing this game. Hence, the version which you get may have several bugs | |||
2017-05-26 | save and restore hasn't worked for some time, not since -fPIE, since it | Ted Unangst | |
uses a pointer equality check for save game validity. remove it. discovered by the ever inquisitive mlarkin | |||
2017-05-19 | Silence a whole slew of clang warnings by doing a no-op in the crazy | Theo Buehler | |
internal obfuscation scheme the other way around, thereby avoiding a signed underflow. ok mestre | |||
2017-04-16 | According to termcap(3), char PC, *BC, *UP need to be extern. Fixes an | Theo Buehler | |
ld(1) error found by mestre a while ago. fix suggested and ok naddy | |||
2017-04-10 | Clean up disabled declaration in the text struct. | Frederic Cambus | |
OK deraadt@ | |||
2017-04-08 | snprintf() format string should be literal | Gleydson Soares | |
avoid compiler silly warnings sure deraadt@ | |||
2017-04-08 | format string is better be literal | Gleydson Soares | |
OK deraadt | |||
2017-01-21 | Nuke whitespace foolish enough to expose itself during the great | Kenneth R Westerback | |
"warning:" rectification. | |||
2017-01-20 | In "%.*s" the * takes (int). gcc whines if you try to use the result | Kenneth R Westerback | |
of pointer subtraction without a cast. So cast those expressions to (int). Switch one local variable to the same type as the parameter it is compared to. ok deraadt@ guenther@ beck@ |