Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * fixed <ctype> bugs | 2005-05-23 | 1 | -66/+106 | |
| | | | | | | | | | * removed ASCII dependency * added input data validation * added bounds checking * added error checking * handle short reads (from pipes or sockets) correctly when trying to decode an encoded stream * added lint(1) directives | ||||
* | Otto Von Bismarck -> Otto von Bismarck. | 2005-05-10 | 1 | -2/+2 | |
| | |||||
* | It is Bismarck not Bismark. | 2005-05-10 | 1 | -1/+1 | |
| | |||||
* | Sort list, and add Nunavut, which has been a Canadian province since 1999. | 2005-05-02 | 1 | -8/+9 | |
| | |||||
* | Cyprus is part of Europe, not Asia. Turkey is currently listed in both | 2005-05-02 | 2 | -1/+1 | |
| | | | Europe and Asia, I'm leaving it that way. | ||||
* | The current President of the United States is George Walker Bush, not George | 2005-05-02 | 1 | -2/+2 | |
| | | | Walker Bush, Jr. (his father was George Herbert Walker Bush). | ||||
* | Fixed wrong use of the <ctype.h> functions by adding an explicit conversion | 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 | 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 | 2005-04-09 | 1 | -2/+3 | |
| | | | to run caesar. | ||||
* | A few minor spelling, grammar, and formatting fixes. | 2005-04-09 | 2 | -7/+7 | |
| | |||||
* | Fix a long-standing bug in wump(6) whereby hitting ^d to exit would first | 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. | 2005-03-09 | 1 | -3/+3 | |
| | |||||
* | Remove a incorrect semicolon at the end of an if(). | 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 | 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 *). | 2005-02-15 | 8 | -24/+25 | |
| | | | Reviewed by <hubertf>. | ||||
* | Avoid arrays of incomplete types (required to build with GCC 4). | 2005-02-15 | 3 | -7/+7 | |
| | | | Reviewed by <hubertf>. | ||||
* | A preprocessor macro named "srand" was defined which seeded the random | 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. | 2005-01-30 | 1 | -3/+3 | |
| | | | Reviewed by <hubertf>. | ||||
* | Convert from libc/threadlib-style mutex protection to pthread style. | 2004-12-14 | 1 | -13/+13 | |
| | | | (XXX this game totally does not need a thread-safe malloc) | ||||
* | Redo how void gets init'd. | 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. | 2004-11-13 | 1 | -1/+2 | |
| | |||||
* | Add (unsigned char) cast to ctype functions | 2004-11-05 | 24 | -111/+109 | |
| | |||||
* | Don't try to catch SIGSTOP... | 2004-09-12 | 1 | -3/+2 | |
| | |||||
* | Indent header description (from jmc@openbsd). | 2004-09-09 | 1 | -6/+6 | |
| | | | Sort sections and remove a trailing space. | ||||
* | Some improvements from jmc@openbsd: | 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 | 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. | 2004-08-27 | 1 | -5/+9 | |
| | | | - use refresh() instead of wrefresh() | ||||
* | describe the algorithm better. | 2004-08-27 | 1 | -10/+8 | |
| | |||||
* | Fix typo | 2004-08-20 | 1 | -1/+1 | |
| | |||||
* | Grammar fix, from ray at raylai org via jmc@openbsd. | 2004-06-01 | 1 | -2/+2 | |
| | |||||
* | Had fun with a spell checker. | 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 | 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 | 2004-04-23 | 2 | -4/+4 | |
| | | | elsewhere). | ||||
* | Undef bool before including <curses.h>, since it tries to typedef | 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. | 2004-04-07 | 9 | -11/+19 | |
| | |||||
* | If the current player has no cards, skip to the other player. | 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 | 2004-03-29 | 1 | -3/+8 | |
| | |||||
* | It's "its". | 2004-03-29 | 1 | -1/+1 | |
| | |||||
* | Spell "political" correctly and capitalize a last name. | 2004-03-29 | 1 | -1/+1 | |
| | |||||
* | s/feal/feel/ | 2004-03-28 | 1 | -1/+1 | |
| | |||||
* | s/venomenous/venomous/ | 2004-03-28 | 1 | -1/+1 | |
| | |||||
* | becuase -> because. From Peter Postma. | 2004-02-24 | 1 | -2/+2 | |
| | |||||
* | Encode and decode more characters. Don't put commas after every | 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. | 2004-02-13 | 4 | -14/+11 | |
| | |||||
* | |fmt; add single quotes around a plus. | 2004-02-09 | 1 | -3/+5 | |
| | |||||
* | Mark unused parameters, nonreturning functions and format functions in | 2004-02-08 | 9 | -33/+35 | |
| | | | the few cases not already marked. | ||||
* | Hide the cursor if possible. From OpenBSD. | 2004-02-08 | 2 | -4/+6 | |
| | |||||
* | Fix race in parallel make when creating multiple targets in one operation. | 2004-02-08 | 1 | -3/+6 | |
| | |||||
* | Separate primes manpage from that of factor. Correct DIAGNOSTICS | 2004-02-08 | 4 | -49/+96 | |
| | | | information. | ||||
* | Check large factor for being prime before applying Pollard's | 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>. |