summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The current President of the United States is George Walker Bush, not Georgejwise2005-05-021-2/+2
| | | Walker Bush, Jr. (his father was George Herbert Walker Bush).
* Fixed wrong use of the <ctype.h> functions by adding an explicit conversionrillig2005-04-193-11/+11
| | | to unsigned char. Approved by christos.
* Fixed wrong use of datatypes. In wait_for(), a char was used togetherrillig2005-04-191-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 atatatat2005-04-091-2/+3
| | | to run caesar.
* A few minor spelling, grammar, and formatting fixes.atatat2005-04-092-7/+7
|
* Fix a long-standing bug in wump(6) whereby hitting ^d to exit would firstjwise2005-03-211-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.christos2005-03-091-3/+3
|
* Remove a incorrect semicolon at the end of an if().simonb2005-02-251-4/+4
| | | Magic levels now appear after extensive play testing!
* Don't presume phantasia's internal bool (char) is the same as that injsm2005-02-155-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 *).jsm2005-02-158-24/+25
| | | Reviewed by <hubertf>.
* Avoid arrays of incomplete types (required to build with GCC 4).jsm2005-02-153-7/+7
| | | Reviewed by <hubertf>.
* A preprocessor macro named "srand" was defined which seeded the randomperry2005-02-032-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.jsm2005-01-301-3/+3
| | | Reviewed by <hubertf>.
* Convert from libc/threadlib-style mutex protection to pthread style.nathanw2004-12-141-13/+13
| | | (XXX this game totally does not need a thread-safe malloc)
* Redo how void gets init'd.jmc2004-12-092-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.christos2004-11-131-1/+2
|
* Add (unsigned char) cast to ctype functionsdsl2004-11-0524-111/+109
|
* Don't try to catch SIGSTOP...christos2004-09-121-3/+2
|
* Indent header description (from jmc@openbsd).wiz2004-09-091-6/+6
| | | Sort sections and remove a trailing space.
* Some improvements from jmc@openbsd:wiz2004-09-091-19/+34
| | | | sort option descriptions, add argument to -m, mention strfile and add some xrefs.
* Replaced strncpy with strlcpy. Thanks to Peter Postma whojrf2004-09-073-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.christos2004-08-271-5/+9
| | | - use refresh() instead of wrefresh()
* describe the algorithm better.christos2004-08-271-10/+8
|
* Fix typomjl2004-08-201-1/+1
|
* Grammar fix, from ray at raylai org via jmc@openbsd.wiz2004-06-011-2/+2
|
* Had fun with a spell checker.mjl2004-05-221-58/+57
| | | Also, try to canonize attributions.
* - don't catch STOP, TSTP, QUIT; the first you cannot catch and the other twochristos2004-05-021-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 fromsimonb2004-04-232-4/+4
| | | elsewhere).
* Undef bool before including <curses.h>, since it tries to typedefhe2004-04-116-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.ross2004-04-079-11/+19
|
* If the current player has no cards, skip to the other player.jdc2004-04-061-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 jsmhubertf2004-03-291-3/+8
|
* It's "its".snj2004-03-291-1/+1
|
* Spell "political" correctly and capitalize a last name.snj2004-03-291-1/+1
|
* s/feal/feel/snj2004-03-281-1/+1
|
* s/venomenous/venomous/snj2004-03-281-1/+1
|
* becuase -> because. From Peter Postma.wiz2004-02-241-2/+2
|
* Encode and decode more characters. Don't put commas after everyjsm2004-02-131-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.wiz2004-02-134-14/+11
|
* |fmt; add single quotes around a plus.wiz2004-02-091-3/+5
|
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-089-33/+35
| | | the few cases not already marked.
* Hide the cursor if possible. From OpenBSD.jsm2004-02-082-4/+6
|
* Fix race in parallel make when creating multiple targets in one operation.lukem2004-02-081-3/+6
|
* Separate primes manpage from that of factor. Correct DIAGNOSTICSjsm2004-02-084-49/+96
| | | information.
* Check large factor for being prime before applying Pollard'sjsm2004-02-081-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. Bugjsm2004-02-081-3/+7
| | | | reported by Malcolm Parsons <malcolm@ivywell.screaming.net> in Debian bug 84852.
* Use standard C abs function rather than local macro.jsm2004-02-082-4/+4
|
* Mark variables changed between setjmp and longjmp as volatile ratherjsm2004-02-082-14/+7
| | | than just taking their addresses.
* Fix grammar (bug reported by Thomas Bushnell BSG <tb@MIT.EDU> injsm2004-02-081-2/+2
| | | Debian bug 61846).
* Remove uses of __P.jsm2004-01-27114-2349/+2349
|