Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed wrong use of the <ctype.h> functions by adding an explicit conversion | rillig | 2005-04-19 | 3 | -11/+11 |
| | | | to unsigned char. Approved by christos. | ||||
* | Fixed wrong use of datatypes. In wait_for(), a char was used together | rillig | 2005-04-19 | 1 | -8/+5 |
| | | | | | | with getchar(), in readchar(), a char was used to read input, which in getuchar() is used as an argument to islower() and toupper(). Also removed a condition which terminated the process if the user typed in character 255. Approved by christos. | ||||
* | Don't assume /usr/games; use the same path as what rot13 was found at | atatat | 2005-04-09 | 1 | -2/+3 |
| | | | to run caesar. | ||||
* | A few minor spelling, grammar, and formatting fixes. | atatat | 2005-04-09 | 2 | -7/+7 |
| | |||||
* | Fix a long-standing bug in wump(6) whereby hitting ^d to exit would first | jwise | 2005-03-21 | 1 | -6/+8 |
| | | | | print ``Care to play another game? (y-n)'' (but then exit anyway without waiting for an answer). | ||||
* | Add -lcrypt where -lcrypto is specified. | christos | 2005-03-09 | 1 | -3/+3 |
| | |||||
* | Remove a incorrect semicolon at the end of an if(). | simonb | 2005-02-25 | 1 | -4/+4 |
| | | | Magic levels now appear after extensive play testing! | ||||
* | Don't presume phantasia's internal bool (char) is the same as that in | jsm | 2005-02-15 | 5 | -11/+13 |
| | | | | | | curses.h: define phbool and use it where necessary to avoid declaring functions with one bool and defining them with the other. Reviewed by <hubertf>. | ||||
* | Cast last argument of execl to (char *). | jsm | 2005-02-15 | 8 | -24/+25 |
| | | | Reviewed by <hubertf>. | ||||
* | Avoid arrays of incomplete types (required to build with GCC 4). | jsm | 2005-02-15 | 3 | -7/+7 |
| | | | Reviewed by <hubertf>. | ||||
* | A preprocessor macro named "srand" was defined which seeded the random | perry | 2005-02-03 | 2 | -5/+5 |
| | | | | | | | | number generator. Unfortunately, it conflicted with a function of the same defined in stdlib.h. This was masked by the __P hack, which is now being purged. I've renamed "srand" to "seedrand" to eliminate the conflict. | ||||
* | Correct typos in German fortune. Reported by Charles Senger, csenger at UCSD. | jsm | 2005-01-30 | 1 | -3/+3 |
| | | | Reviewed by <hubertf>. | ||||
* | Convert from libc/threadlib-style mutex protection to pthread style. | nathanw | 2004-12-14 | 1 | -13/+13 |
| | | | (XXX this game totally does not need a thread-safe malloc) | ||||
* | Redo how void gets init'd. | jmc | 2004-12-09 | 2 | -16/+18 |
| | | | | | setup now just creates an empty file. When main starts and loads it in, it stats and if zero size init's a new location and saves it back out. Now games.tgz can be shared among MACHINE_ARCH's | ||||
* | Slimy worms are clean enough for level 3. | christos | 2004-11-13 | 1 | -1/+2 |
| | |||||
* | Add (unsigned char) cast to ctype functions | dsl | 2004-11-05 | 24 | -111/+109 |
| | |||||
* | Don't try to catch SIGSTOP... | christos | 2004-09-12 | 1 | -3/+2 |
| | |||||
* | Indent header description (from jmc@openbsd). | wiz | 2004-09-09 | 1 | -6/+6 |
| | | | Sort sections and remove a trailing space. | ||||
* | Some improvements from jmc@openbsd: | wiz | 2004-09-09 | 1 | -19/+34 |
| | | | | sort option descriptions, add argument to -m, mention strfile and add some xrefs. | ||||
* | Replaced strncpy with strlcpy. Thanks to Peter Postma who | jrf | 2004-09-07 | 3 | -17/+12 |
| | | | pointed them our in PR #25762. Approved by christos@NetBSD.org. | ||||
* | - sleep a little in autobot mode so that we can see what is happening. | christos | 2004-08-27 | 1 | -5/+9 |
| | | | - use refresh() instead of wrefresh() | ||||
* | describe the algorithm better. | christos | 2004-08-27 | 1 | -10/+8 |
| | |||||
* | Fix typo | mjl | 2004-08-20 | 1 | -1/+1 |
| | |||||
* | Grammar fix, from ray at raylai org via jmc@openbsd. | wiz | 2004-06-01 | 1 | -2/+2 |
| | |||||
* | Had fun with a spell checker. | mjl | 2004-05-22 | 1 | -58/+57 |
| | | | Also, try to canonize attributions. | ||||
* | - don't catch STOP, TSTP, QUIT; the first you cannot catch and the other two | christos | 2004-05-02 | 1 | -22/+24 |
| | | | | | you should not. - don't accept delay == 1000, because it turns to 0 and fix the number parsing - misc KNF cleanups. | ||||
* | s/the the/the/ (only in sources that aren't regularly imported from | simonb | 2004-04-23 | 2 | -4/+4 |
| | | | elsewhere). | ||||
* | Undef bool before including <curses.h>, since it tries to typedef | he | 2004-04-11 | 6 | -6/+12 |
| | | | | | bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration warning from "typedef char char;" due to the #define of bool in phantstruct.h. | ||||
* | Rework to use curses.h only on the target, not on the host. | ross | 2004-04-07 | 9 | -11/+19 |
| | |||||
* | If the current player has no cards, skip to the other player. | jdc | 2004-04-06 | 1 | -2/+15 |
| | | | | While we're here, make this compile with -DDEBUG. Fixes PR bin/12530 from Thomas Klausner. | ||||
* | Properly handle -d 1000, OK'd by jsm | hubertf | 2004-03-29 | 1 | -3/+8 |
| | |||||
* | It's "its". | snj | 2004-03-29 | 1 | -1/+1 |
| | |||||
* | Spell "political" correctly and capitalize a last name. | snj | 2004-03-29 | 1 | -1/+1 |
| | |||||
* | s/feal/feel/ | snj | 2004-03-28 | 1 | -1/+1 |
| | |||||
* | s/venomenous/venomous/ | snj | 2004-03-28 | 1 | -1/+1 |
| | |||||
* | becuase -> because. From Peter Postma. | wiz | 2004-02-24 | 1 | -2/+2 |
| | |||||
* | Encode and decode more characters. Don't put commas after every | jsm | 2004-02-13 | 1 | -74/+88 |
| | | | | | | character. Don't encode whitespace as "...". Don't fail decoding across a 1024-byte boundary. Mark end of message appropriately. From OpenBSD but with punctuation taken from ITU-T Recommendation F.1 (03/98). | ||||
* | Uppercase CPU, plural is CPUs. | wiz | 2004-02-13 | 4 | -14/+11 |
| | |||||
* | |fmt; add single quotes around a plus. | wiz | 2004-02-09 | 1 | -3/+5 |
| | |||||
* | Mark unused parameters, nonreturning functions and format functions in | jsm | 2004-02-08 | 9 | -33/+35 |
| | | | the few cases not already marked. | ||||
* | Hide the cursor if possible. From OpenBSD. | jsm | 2004-02-08 | 2 | -4/+6 |
| | |||||
* | Fix race in parallel make when creating multiple targets in one operation. | lukem | 2004-02-08 | 1 | -3/+6 |
| | |||||
* | Separate primes manpage from that of factor. Correct DIAGNOSTICS | jsm | 2004-02-08 | 4 | -49/+96 |
| | | | information. | ||||
* | Check large factor for being prime before applying Pollard's | jsm | 2004-02-08 | 1 | -6/+14 |
| | | | | | | algorithm; fixes "factor 2147483647111311". Correct comment; algorithm is Pollard p-1, not Pollard rho. Increase base if p-1 algorithm reaches 1; fixes "factor 99999999999991". Testcases from David A Bagley <bagleyd@tux.org>. | ||||
* | Control -d by #ifdef DEBUG; adjust usage message accordingly. Bug | jsm | 2004-02-08 | 1 | -3/+7 |
| | | | | reported by Malcolm Parsons <malcolm@ivywell.screaming.net> in Debian bug 84852. | ||||
* | Use standard C abs function rather than local macro. | jsm | 2004-02-08 | 2 | -4/+4 |
| | |||||
* | Mark variables changed between setjmp and longjmp as volatile rather | jsm | 2004-02-08 | 2 | -14/+7 |
| | | | than just taking their addresses. | ||||
* | Fix grammar (bug reported by Thomas Bushnell BSG <tb@MIT.EDU> in | jsm | 2004-02-08 | 1 | -2/+2 |
| | | | Debian bug 61846). | ||||
* | Remove uses of __P. | jsm | 2004-01-27 | 114 | -2349/+2349 |
| | |||||
* | Include <sys/stat.h>. | jsm | 2004-01-27 | 1 | -2/+4 |
| |