Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #if 0 some unused code. | 2011-05-23 | 1 | -2/+7 | |
| | |||||
* | Don't use variables as format string. | 2011-05-23 | 1 | -4/+4 | |
| | |||||
* | Correctly print variables as strings, not as format string. | 2011-05-23 | 9 | -30/+32 | |
| | |||||
* | Properly print string. | 2011-05-23 | 1 | -3/+3 | |
| | |||||
* | Don't use variables as format strings. | 2011-05-23 | 1 | -7/+7 | |
| | |||||
* | ANSIfy | 2011-05-23 | 1 | -5/+3 | |
| | |||||
* | Don't use strings from arrays as format string. | 2011-05-23 | 1 | -4/+4 | |
| | |||||
* | Don't use return value of a function as format string. | 2011-05-23 | 1 | -3/+3 | |
| | |||||
* | Bug fix: in a game with 26 planes, the last one to be allocated wouldn't | 2011-02-15 | 1 | -3/+3 | |
| | | | | be allocated if it was the only eligible one. From Jonathan David Amery via Debian Bug report 214626. | ||||
* | Fix spelling: it's *Jef* Raskin, not Jeff Raskin. | 2011-01-24 | 3 | -2/+3 | |
| | |||||
* | avoid unnecessary cast (hi wiz) | 2011-01-05 | 1 | -5/+6 | |
| | |||||
* | Fix fd leak in error cases. Found by cppcheck. | 2011-01-05 | 1 | -12/+12 | |
| | |||||
* | Fix realloc error. Found by cppcheck. | 2011-01-05 | 1 | -3/+7 | |
| | |||||
* | Don't use the same name for two parameters. | 2010-12-08 | 1 | -4/+4 | |
| | |||||
* | Use __c99inline from sys/cdefs.h | 2010-12-08 | 2 | -42/+1 | |
| | |||||
* | Fix a few of the games to use getprogname() in their usage() functions. | 2010-12-05 | 4 | -12/+19 | |
| | | | | | | Suggested by Joerg. XXX There are probably many more that have their progname hard-coded, but XXX I'm not up for a wholesale roto-till at the moment. | ||||
* | Since this game is installed as 'boggle', fix the usage() text to match. | 2010-12-05 | 1 | -3/+3 | |
| | |||||
* | add one i saw on irc today | 2010-11-25 | 1 | -0/+6 | |
| | |||||
* | Avoid undefined behavior, from Chris Spiegel in PR 43860. | 2010-09-26 | 1 | -3/+3 | |
| | |||||
* | Rework the game startup so it uses curses nicely. There are now menus | 2010-08-06 | 7 | -200/+1125 | |
| | | | and stuff for picking scenarios and ships and all that. | ||||
* | Don't define esc-[ as a custom key sequence because it steps on vt | 2010-08-06 | 1 | -3/+5 | |
| | | | function keys. | ||||
* | Fix some additional typos/grammar slips. | 2010-05-29 | 1 | -6/+6 | |
| | |||||
* | Fix dog-Latin. The plural of wumpus could be wumpi, wumpus, or even wumpora, | 2010-05-29 | 1 | -5/+5 | |
| | | | but not 'wumpii'. Where does this -ii crap come from? | ||||
* | Follow the Fundamental Theory of Algebra. Disallow factorising of | 2010-05-15 | 2 | -14/+10 | |
| | | | | | | | | numbers less than 2 as it is not - naturally unique (negative numbers) - finite (0) - non-empty (1) Discussed with the kristaps and wiz | ||||
* | \\ -> \e | 2010-05-14 | 1 | -2/+2 | |
| | |||||
* | cast isblank(3)'s argument to unsigned char. | 2010-05-13 | 3 | -9/+9 | |
| | |||||
* | rename pollard_pminus1->pollard_rho for consistency | 2010-04-28 | 1 | -8/+6 | |
| | |||||
* | -Fix an old bug in the "pollard" code: it gets its argument passed | 2010-04-27 | 1 | -28/+59 | |
| | | | | | | | | | | | | by reference, and changes the value behind the pointer under some circumstances (basically if it finds more than 2 different factors). It also calls itself if it finds a factor which is not considered prime (by openssl's miller-rabin check) and uses the call argument afterwards. This doesn't work -- we need to copy the argument into its own storage. -Modify the code to do the "rho" algorithm as was initially announced. It takes somewhat longer in rare cases, but still works in cases where the "p-1" algorithm is unusable. This might fix PR misc/43192 by Luiz Henrique de Figueiredo. -Add some optional debug support, minor cleanup. | ||||
* | Document the options that actually exist, instead of some other | 2010-04-24 | 1 | -25/+25 | |
| | | | completely unrelated set. Bump date. (first time since 1993!) | ||||
* | Handle the "diedtime" field of the player log (which is not the high | 2010-04-24 | 1 | -4/+7 | |
| | | | | | | scores file, the append-only log of all games) as int32_t instead of time_t. Log files from before the 64-bit time_t change can now be read again; however, log files from the last year of -current are hosed. All none of you who play larn, take note... | ||||
* | fflush the score file while signals are blocked to decrease the chance of | 2010-04-24 | 1 | -2/+3 | |
| | | | it getting corrupted. | ||||
* | fix an obvious flaw in bounds check: the array of precomputed primes | 2010-04-22 | 1 | -4/+5 | |
| | | | | | could be overrun if its last entry (65537) was a factor of the input (this does not affect PR misc/43192 -- the factors are much larger here: 7742394596501*159455563099482401) | ||||
* | Add backslash before a dash to get a minus. | 2010-04-22 | 1 | -3/+3 | |
| | |||||
* | Sync with reality. Bump date. | 2010-04-22 | 1 | -11/+27 | |
| | |||||
* | handle ctime returning NULL. | 2010-04-04 | 1 | -5/+12 | |
| | |||||
* | ctime can return NULL. | 2010-04-02 | 1 | -5/+9 | |
| | |||||
* | fix typo. | 2010-04-02 | 1 | -3/+3 | |
| | |||||
* | handle ctime returning NULL. | 2010-04-02 | 1 | -6/+3 | |
| | |||||
* | remove #ifdef SVR4 | 2010-03-29 | 2 | -12/+4 | |
| | |||||
* | Some improvements to the new UI. | 2010-03-29 | 3 | -19/+45 | |
| | |||||
* | reorg for clarity and exposition. | 2010-03-29 | 1 | -30/+37 | |
| | |||||
* | Better user interface. From OpenBSD, written by Paul Janzen quite a | 2010-03-29 | 4 | -61/+258 | |
| | | | long time ago. A few minor adjustments by yours truly. | ||||
* | Spell "versus" right. | 2010-03-29 | 1 | -10/+10 | |
| | |||||
* | Allow saved game filenames up to PATH_MAX. From OpenBSD. | 2010-03-29 | 1 | -6/+8 | |
| | |||||
* | fix quote markup, spotted in openbsd diffs | 2010-03-29 | 1 | -5/+14 | |
| | |||||
* | Fix typo. From OpenBSD. | 2010-03-29 | 1 | -2/+2 | |
| | |||||
* | Don't exit(0) on failure. Use errx() instead of fprintf. | 2010-03-29 | 1 | -4/+4 | |
| | |||||
* | rename text() to wrtext(), aligning it with most other output routines, | 2010-03-22 | 7 | -38/+38 | |
| | | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists... | ||||
* | Latin police: use proper conjugation. | 2010-02-16 | 2 | -2/+2 | |
| | | | (whether the rest of the affected fortune is valid either is debatable) | ||||
* | When using -lcurses, you also need -lterminfo. | 2010-02-06 | 17 | -51/+51 | |
| | | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies. |