Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include system headers before private headers. Avoids various possible | dholland | 2011-07-20 | 2 | -8/+8 |
| | | | symbol conflicts. | ||||
* | apply some -O0 with gcc 4.5 and vax. | mrg | 2011-07-03 | 1 | -1/+5 |
| | |||||
* | use DBL_MIN from <float.h> instead of a hard coded small value (that | mrg | 2011-07-03 | 1 | -3/+4 |
| | | | becomes zero for vax fp.) | ||||
* | include sys/time.h earlier (rather than implicitly via fcntl.h) so that | mrg | 2011-07-02 | 1 | -1/+2 |
| | | | | | | | the "u" variable doesn't shadow stuff, found later in time.h inlines. kind of a hack, but i don't want to modify time.h either. XXX: seems kind of annoying | ||||
* | rename a variable from "time" to "stime" (it's a string) | mrg | 2011-07-02 | 1 | -5/+5 |
| | |||||
* | apply some -Wno-error and/or -fno-strict-aliasing. | mrg | 2011-06-22 | 1 | -1/+6 |
| | | | | all of this should be looked at closer, but some of them are not very trivial. | ||||
* | Use consistent sign in compare, the function is only called with | joerg | 2011-05-30 | 2 | -5/+5 |
| | | | constants as third argument anyway. | ||||
* | Map RCSID to __RCSID | joerg | 2011-05-23 | 1 | -4/+3 |
| | |||||
* | ANSIfy | joerg | 2011-05-23 | 1 | -22/+13 |
| | |||||
* | Don't use variables as format string. | joerg | 2011-05-23 | 1 | -4/+4 |
| | |||||
* | Kill some pointer indirections. Don't use variables as format strings. | joerg | 2011-05-23 | 5 | -16/+16 |
| | |||||
* | ANSIfy | joerg | 2011-05-23 | 1 | -8/+3 |
| | |||||
* | #if 0 some unused code. | joerg | 2011-05-23 | 1 | -2/+7 |
| | |||||
* | Don't use variables as format string. | joerg | 2011-05-23 | 1 | -4/+4 |
| | |||||
* | Correctly print variables as strings, not as format string. | joerg | 2011-05-23 | 9 | -30/+32 |
| | |||||
* | Properly print string. | joerg | 2011-05-23 | 1 | -3/+3 |
| | |||||
* | Don't use variables as format strings. | joerg | 2011-05-23 | 1 | -7/+7 |
| | |||||
* | ANSIfy | joerg | 2011-05-23 | 1 | -5/+3 |
| | |||||
* | Don't use strings from arrays as format string. | joerg | 2011-05-23 | 1 | -4/+4 |
| | |||||
* | Don't use return value of a function as format string. | joerg | 2011-05-23 | 1 | -3/+3 |
| | |||||
* | Bug fix: in a game with 26 planes, the last one to be allocated wouldn't | is | 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. | dyoung | 2011-01-24 | 3 | -2/+3 |
| | |||||
* | avoid unnecessary cast (hi wiz) | dholland | 2011-01-05 | 1 | -5/+6 |
| | |||||
* | Fix fd leak in error cases. Found by cppcheck. | wiz | 2011-01-05 | 1 | -12/+12 |
| | |||||
* | Fix realloc error. Found by cppcheck. | wiz | 2011-01-05 | 1 | -3/+7 |
| | |||||
* | Don't use the same name for two parameters. | joerg | 2010-12-08 | 1 | -4/+4 |
| | |||||
* | Use __c99inline from sys/cdefs.h | joerg | 2010-12-08 | 2 | -42/+1 |
| | |||||
* | Fix a few of the games to use getprogname() in their usage() functions. | pgoyette | 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. | pgoyette | 2010-12-05 | 1 | -3/+3 |
| | |||||
* | add one i saw on irc today | pooka | 2010-11-25 | 1 | -0/+6 |
| | |||||
* | Avoid undefined behavior, from Chris Spiegel in PR 43860. | dholland | 2010-09-26 | 1 | -3/+3 |
| | |||||
* | Rework the game startup so it uses curses nicely. There are now menus | dholland | 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 | dholland | 2010-08-06 | 1 | -3/+5 |
| | | | function keys. | ||||
* | Fix some additional typos/grammar slips. | dholland | 2010-05-29 | 1 | -6/+6 |
| | |||||
* | Fix dog-Latin. The plural of wumpus could be wumpi, wumpus, or even wumpora, | dholland | 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 | joerg | 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 | joerg | 2010-05-14 | 1 | -2/+2 |
| | |||||
* | cast isblank(3)'s argument to unsigned char. | tnozaki | 2010-05-13 | 3 | -9/+9 |
| | |||||
* | rename pollard_pminus1->pollard_rho for consistency | drochner | 2010-04-28 | 1 | -8/+6 |
| | |||||
* | -Fix an old bug in the "pollard" code: it gets its argument passed | drochner | 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 | dholland | 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 | dholland | 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 | dholland | 2010-04-24 | 1 | -2/+3 |
| | | | it getting corrupted. | ||||
* | fix an obvious flaw in bounds check: the array of precomputed primes | drochner | 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. | wiz | 2010-04-22 | 1 | -3/+3 |
| | |||||
* | Sync with reality. Bump date. | dholland | 2010-04-22 | 1 | -11/+27 |
| | |||||
* | handle ctime returning NULL. | christos | 2010-04-04 | 1 | -5/+12 |
| | |||||
* | ctime can return NULL. | christos | 2010-04-02 | 1 | -5/+9 |
| | |||||
* | fix typo. | christos | 2010-04-02 | 1 | -3/+3 |
| | |||||
* | handle ctime returning NULL. | christos | 2010-04-02 | 1 | -6/+3 |
| |