summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use consistent sign in compare, the function is only called withjoerg2011-05-302-5/+5
| | | constants as third argument anyway.
* Map RCSID to __RCSIDjoerg2011-05-231-4/+3
|
* ANSIfyjoerg2011-05-231-22/+13
|
* Don't use variables as format string.joerg2011-05-231-4/+4
|
* Kill some pointer indirections. Don't use variables as format strings.joerg2011-05-235-16/+16
|
* ANSIfyjoerg2011-05-231-8/+3
|
* #if 0 some unused code.joerg2011-05-231-2/+7
|
* Don't use variables as format string.joerg2011-05-231-4/+4
|
* Correctly print variables as strings, not as format string.joerg2011-05-239-30/+32
|
* Properly print string.joerg2011-05-231-3/+3
|
* Don't use variables as format strings.joerg2011-05-231-7/+7
|
* ANSIfyjoerg2011-05-231-5/+3
|
* Don't use strings from arrays as format string.joerg2011-05-231-4/+4
|
* Don't use return value of a function as format string.joerg2011-05-231-3/+3
|
* Bug fix: in a game with 26 planes, the last one to be allocated wouldn'tis2011-02-151-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.dyoung2011-01-243-2/+3
|
* avoid unnecessary cast (hi wiz)dholland2011-01-051-5/+6
|
* Fix fd leak in error cases. Found by cppcheck.wiz2011-01-051-12/+12
|
* Fix realloc error. Found by cppcheck.wiz2011-01-051-3/+7
|
* Don't use the same name for two parameters.joerg2010-12-081-4/+4
|
* Use __c99inline from sys/cdefs.hjoerg2010-12-082-42/+1
|
* Fix a few of the games to use getprogname() in their usage() functions.pgoyette2010-12-054-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.pgoyette2010-12-051-3/+3
|
* add one i saw on irc todaypooka2010-11-251-0/+6
|
* Avoid undefined behavior, from Chris Spiegel in PR 43860.dholland2010-09-261-3/+3
|
* Rework the game startup so it uses curses nicely. There are now menusdholland2010-08-067-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 vtdholland2010-08-061-3/+5
| | | function keys.
* Fix some additional typos/grammar slips.dholland2010-05-291-6/+6
|
* Fix dog-Latin. The plural of wumpus could be wumpi, wumpus, or even wumpora,dholland2010-05-291-5/+5
| | | but not 'wumpii'. Where does this -ii crap come from?
* Follow the Fundamental Theory of Algebra. Disallow factorising ofjoerg2010-05-152-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
* \\ -> \ejoerg2010-05-141-2/+2
|
* cast isblank(3)'s argument to unsigned char.tnozaki2010-05-133-9/+9
|
* rename pollard_pminus1->pollard_rho for consistencydrochner2010-04-281-8/+6
|
* -Fix an old bug in the "pollard" code: it gets its argument passeddrochner2010-04-271-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 otherdholland2010-04-241-25/+25
| | | completely unrelated set. Bump date. (first time since 1993!)
* Handle the "diedtime" field of the player log (which is not the highdholland2010-04-241-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 ofdholland2010-04-241-2/+3
| | | it getting corrupted.
* fix an obvious flaw in bounds check: the array of precomputed primesdrochner2010-04-221-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.wiz2010-04-221-3/+3
|
* Sync with reality. Bump date.dholland2010-04-221-11/+27
|
* handle ctime returning NULL.christos2010-04-041-5/+12
|
* ctime can return NULL.christos2010-04-021-5/+9
|
* fix typo.christos2010-04-021-3/+3
|
* handle ctime returning NULL.christos2010-04-021-6/+3
|
* remove #ifdef SVR4dholland2010-03-292-12/+4
|
* Some improvements to the new UI.dholland2010-03-293-19/+45
|
* reorg for clarity and exposition.dholland2010-03-291-30/+37
|
* Better user interface. From OpenBSD, written by Paul Janzen quite adholland2010-03-294-61/+258
| | | long time ago. A few minor adjustments by yours truly.
* Spell "versus" right.dholland2010-03-291-10/+10
|
* Allow saved game filenames up to PATH_MAX. From OpenBSD.dholland2010-03-291-6/+8
|