Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-13 | long live BSD, SYSV is dead! | Ted Unangst | |
2014-07-12 | mlarkin found disabled code to print a battleship. improve it and enable. | Ted Unangst | |
ok mlarkin | |||
2014-07-12 | Remove a pile of (obviously unused) #ifdef SYSV and BSD41 and BSD42 | Theo de Raadt | |
code that catches lots of signals, and then re-enters curses... before exiting. | |||
2014-07-03 | Mark functions calling exit(3) as __dead. | Ingo Schwarze | |
Issue reported by David Crosby <dave at dafyddcrosby dot com> on tech@. ok miod@ | |||
2014-07-01 | Fix typo in Hoare quote | Philip Guenther | |
2014-05-25 | use calloc. from Benjamin Baier | Ted Unangst | |
2014-05-09 | Various cleanup in incard(): | Ingo Schwarze | |
* get_line() always returns the same non-NULL pointer, so testing the return value is useless. * Garbage collect the unused variable *line. * Check for end-of-buffer before parsing the next word instead of after it. * Skip strlen() when the length has been measured three lines before anyway. * Do not initialize local variables over and over again. feedback and ok pjanzen@ | |||
2014-05-09 | Fix a mini-bug reported by pjanzen@: | Ingo Schwarze | |
When entering card names, you can use multiple words (like KING OF SPADES). If you entered more than one consecutive blank character between words, the function incard() took that as end-of-string and ignored the rest. Fix this by dropping duplicate blanks up front, in get_line(). Patch simplified by me, ok pjanzen@. While here, use beep(3) in an adjacent line instead of manually fiddling with control characters, suggested by pjanzen@. | |||
2014-05-09 | pjanzen pointed out that case is irrelevant, so document it; while here, | Jason McIntyre | |
zap an old workaround needed to insert a space - it's now useless (was actually generating a second space); original diff from pjanzen | |||
2014-05-09 | KNF: unify style and reduce indentation in get_line(), no binary change | Ingo Schwarze | |
ok cmp(1) | |||
2014-05-09 | After entering an invalid three-letter card name, one letter card names | Ingo Schwarze | |
stopped working because the third letter remained in the buffer, incard() skipped the NUL and used the old garbage. Fix this bug reported by pjanzen@, but in a simpler way than he suggested, by just clearing any trailing garbage from the buffer. ok pjanzen@ | |||
2014-05-09 | Various cleanup: | Ingo Schwarze | |
1. Style: Don't use variables as format strings. NetBSD rev. 1.26 (May 23, 2011) joerg@NetBSD via maintainer pjanzen@. 2. Style: Avoid needless pointer arithmetics. NetBSD rev. 1.27 (Oct 13, 2012) dholland@NetBSD via pjanzen@, who also applied some KNF to the indentation while here. 3. End curses before printing fatal error messages; from pjanzen@. | |||
2014-05-08 | Do not read from index -1 of an array. | Ingo Schwarze | |
NetBSD rev. 1.16 (Oct 13, 2012) by dholland@NetBSD via maintainer pjanzen@. | |||
2014-04-25 | This manual was lacking it's most important section, HISTORY. | Ingo Schwarze | |
While here, add .An (author name) macros. | |||
2014-04-25 | Security is square, gaming is hip, | Ingo Schwarze | |
so extend the Valhalla Rampage to where it really matters. Tedu 118 lines of dead code containing 77 dead magic numbers, rotting in the tree since June 24, 2001. Spotted by and ok jsg@, ok sthen@. | |||
2014-03-30 | typo fix From: Josh Grosse; | Jason McIntyre | |
2014-03-23 | some minor cleanup: | Jason McIntyre | |
- new sentence, new line - no need to quote Sh lines, or Pa args | |||
2014-03-23 | stop using libwrap. ok deraadt | Ted Unangst | |
2014-03-11 | Match bwrite()'s prototype with write()'s, zapping a lint comment | Philip Guenther | |
Delete casts to char* of arguments to bwrite() and free() | |||
2014-03-11 | Welcome to 1989: we can ask for signed chars when we want them | Philip Guenther | |
2014-03-11 | lint is dead (long live the lint!) | Philip Guenther | |
Declare play() and pl_main() as __dead, to solve the original problem | |||
2014-03-11 | lint is dead (long live the lint!) | Philip Guenther | |
2014-02-16 | malcolm macdougall, not dacdougall; | Jason McIntyre | |
From: Joe Marcus Clarke | |||
2014-02-12 | remove an obsolete man(7) .TP macro that was forgotten | Ingo Schwarze | |
when converting this page to mdoc(7) in revision 1.4; noticed by Jan Stary <hans at stare dot cz> | |||
2014-02-11 | clean up AUTHORS section, no content change: | Ingo Schwarze | |
* add missing .An * do not use .nf and .fi in mdoc(7) code * avoid bare TAB outside literal context * remove pointless .Ss from Jan Stary <hans at stare dot cz>, tweaked by me | |||
2014-01-28 | from pjanzen: | Jason McIntyre | |
Start with the cursor on the worm's head. ok millert | |||
2014-01-28 | from pjanzen: | Jason McIntyre | |
Use strtonum() and error out on an unacceptable length argument rather than reverting to default values; document maximum initial length limit. started by a diff From: Jan Stary, who requested we document default behaviour ok millert | |||
2014-01-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2014-01-11 | optarg/optind are declared in <unistd.h>, so kill the externs here | Philip Guenther | |
2013-12-11 | typo fix from gavin atkinson, freebsd -r259189; | Jason McIntyre | |
2013-11-27 | remove erroneous char cast to switch expression processing getopt(3); | Okan Demirmen | |
not used in any cases. ok deraadt@, guenther@, millert@ | |||
2013-10-25 | start_time should be time_t, not int since it holds the reasult of | Todd C. Miller | |
time(0). OK guenther@ | |||
2013-10-25 | Use arc4random_uniform() insead of rand() and modulus. | Todd C. Miller | |
OK deraadt@ | |||
2013-10-15 | remove conditionals for ELF; prodding by patrick keshishian | Theo de Raadt | |
2013-10-15 | no more a.out support here | Theo de Raadt | |
2013-09-12 | Misc time_t tweaks. %ld / (long)tv_sec -> %lld / (long long)tv_sec. | Kenneth R Westerback | |
Eliminate unneeded casts. suggestions from & ok millert@ guenther@ | |||
2013-08-29 | replace srandomdev()+random() with the arc4random*() family | Christian Weisgerber | |
tweaks and ok millert@, ok deraadt@ | |||
2013-08-29 | Tournament mode uses a deterministic random seed for reproducible games. | Christian Weisgerber | |
Switch seeding from srand() to srandom(), corresponding to the change in random number generator from rand() to random() fifteen years ago. ok pjanzen@ bluhm@ millert@ | |||
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-08-18 | Fix calls to printf-like functions which passed a non-fixed string | Philip Guenther | |
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@ | |||
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-17 | add missing .An and .Mt macro; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-07-16 | use .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-06-02 | Correct obviously exchanged labels in the "computer warpcost" output and | Ingo Schwarze | |
fix a typo in a comment; from <Ted dot Roby at gmail dot com> on tech@. | |||
2013-05-09 | teenagers from *outer* space ("they blast the flesh off hunmans!"); | Jason McIntyre | |
2013-04-05 | this doesn't need to be time_t ok deraadt | Ted Unangst | |
2013-02-18 | typo fix; from pgoyette, netbsd -r1.15 and -r1.11, respectively; | Jason McIntyre | |
2013-02-10 | typo; fix from patrick keshishian | Jason McIntyre | |
2013-01-17 | macro fixes; | Jason McIntyre | |
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis |