Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | \\ -> \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. | |||||
* | Userland now builds and uses terminfo instead of termcap. | 2010-02-03 | 20 | -425/+241 | ||
| | | | OK: core@, jdc@ | |||||
* | Close file when finished with it. Found by cppcheck. | 2010-01-17 | 1 | -2/+3 | ||
| | ||||||
* | Simplify alloc() to avoid ifdef(LINT) workaround. | 2010-01-17 | 1 | -26/+4 | ||
| | ||||||
* | Close two file descriptors after using them. Found by cppcheck. | 2010-01-17 | 1 | -2/+4 | ||
| | ||||||
* | The default output file extension is '.dat', not '.out'. | 2010-01-17 | 1 | -4/+4 | ||
| | | | From Lars Nooden via OpenBSD. | |||||
* | Use .%U instead of .%O for URLs. | 2010-01-15 | 1 | -2/+2 | ||
| | ||||||
* | Christos points out that usage should not use errx, but should use | 2010-01-03 | 1 | -3/+5 | ||
| | | | getprogname. | |||||
* | New sentence, new line. | 2010-01-01 | 1 | -11/+13 | ||
| | ||||||
* | Adjust SYNOPSIS for cfscores to better match reality. Note in BUGS | 2010-01-01 | 1 | -3/+6 | ||
| | | | | that the score file isn't portable. Bump date (first time since 1993, and first in 2010...) | |||||
* | Split struct betinfo into its own header file so it can be shared | 2010-01-01 | 3 | -25/+50 | ||
| | | | between canfield and cfscores, instead of copy-pasted. | |||||
* | Use NULL instead of 0 for pointer tests. Remove an unnecessary cast. | 2010-01-01 | 1 | -6/+6 | ||
| | ||||||
* | Send error messages to stderr. Use errx/warnx, not printf. | 2010-01-01 | 1 | -9/+6 | ||
| | ||||||
* | Correct usage message. | 2010-01-01 | 1 | -3/+3 | ||
| | ||||||
* | Fix math notation, from PR 41547. While here, fix some potential tab | 2010-01-01 | 1 | -2/+3 | ||
| | | | damage in the same fortune. | |||||
* | Hide the cursor during the game. | 2009-12-19 | 1 | -2/+10 | ||
| | ||||||
* | Fix bad merge. (SUBDIR= != SUBDIR +=) | 2009-12-14 | 1 | -2/+2 | ||
| | ||||||
* | Conditionalize some build directories by ${MKCXX}. | 2009-12-14 | 1 | -2/+8 | ||
| | ||||||
* | was disappointed that someone wrote disappointed with one 'p', so I fixed it. | 2009-12-08 | 1 | -1/+1 | ||
| | ||||||
* | I was disappointed that someone wrote disappointed with two 's', so I fixed it. | 2009-12-08 | 1 | -1/+1 | ||
| | ||||||
* | use %option noinput nounput | 2009-10-29 | 2 | -4/+5 | ||
| | ||||||
* | Another spelling mistake. | 2009-10-29 | 1 | -1/+1 | ||
| | ||||||
* | Whitespace. | 2009-10-29 | 6 | -674/+674 | ||
| | ||||||
* | Fix a bunch of typos and spelling errors. | 2009-10-28 | 1 | -135/+135 | ||
| | ||||||
* | Kill two duplicates. | 2009-10-28 | 1 | -17/+1 | ||
| |