Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Coverity CID 1005: Fix NULL deref and incorrect variable use. | 2006-03-19 | 1 | -11/+16 | |
| | |||||
* | Coverity CID 1443: Prevent static overrun. | 2006-03-19 | 1 | -4/+6 | |
| | |||||
* | Coverity CID 827: Prevent NULL pointer deref. | 2006-03-18 | 1 | -3/+3 | |
| | |||||
* | Coverity CID 1699: Fix memory leaks. | 2006-03-18 | 1 | -12/+21 | |
| | |||||
* | Coverity CID 2544: Fix memory leak. | 2006-03-18 | 1 | -12/+17 | |
| | |||||
* | Coverity CID 1786: Close file. | 2006-03-18 | 1 | -2/+3 | |
| | |||||
* | Coverity CID 570: Remove impossible check. | 2006-03-18 | 1 | -3/+3 | |
| | |||||
* | Coverity CID 1195: Check for possible negative index. | 2006-03-18 | 1 | -3/+6 | |
| | |||||
* | Coverity CID 777: Fix NULL pointer deref and de-obfuscate code. | 2006-03-18 | 1 | -7/+7 | |
| | |||||
* | Coverity CID 1230: Remove spurious close(). | 2006-03-18 | 1 | -3/+2 | |
| | |||||
* | Coverity CID 1294: Avoid negative variable used as index. | 2006-03-18 | 1 | -3/+4 | |
| | |||||
* | Coverity CID 1295: Don't allow cchose to return a negative number. It is | 2006-03-18 | 1 | -2/+6 | |
| | | | used as an index. | ||||
* | fclose() open FILE * even though we are returning to fail anyway. | 2006-03-18 | 1 | -3/+5 | |
| | | | silences coverity, CID 1590 / run 5 | ||||
* | don't access out of bounds element of static alloc array. | 2006-03-18 | 1 | -3/+3 | |
| | | | | | found by Coverity, CID 1519 / Run 5 XXX possible that intention was to start with i = 0. | ||||
* | If none of the boarding parties are set do not fall off the end of the | 2006-03-18 | 2 | -5/+5 | |
| | | | | list. Addresses Coverity CID 1507. Also put pointers before shorts in a struct rather than mixing them up | ||||
* | add more "ifdef notdef" around unused sections - addresses Coverity CID 564 | 2006-03-17 | 1 | -2/+6 | |
| | |||||
* | Add a missing bp->b_score not null check - addresses Coverity CID 1003 | 2006-03-17 | 1 | -3/+3 | |
| | |||||
* | if getpwuid() returns null, print out the uid rather than dereferencing | 2006-03-17 | 1 | -7/+15 | |
| | | | Addresses Coverity CID 930 | ||||
* | Fix overrun in players[] array. Addresses Coverty CID 1457 | 2006-03-17 | 1 | -3/+3 | |
| | |||||
* | If getpwuid() returns null, its not usually a good idea to dereference | 2006-03-17 | 1 | -5/+5 | |
| | | | | | that to try to assign a default value. Just copy the default value into the final destination. Addresses Coverty CID 925 | ||||
* | Call fclose() appropriately if there is a problem with the save file. | 2006-03-17 | 1 | -2/+4 | |
| | | | Coverty CID 2063 | ||||
* | Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. | 2006-02-25 | 1 | -5/+2 | |
| | |||||
* | Change DPADD from LIBTERM (which doesn't exist) and LIBCOMPAT (which it | 2006-02-25 | 1 | -2/+2 | |
| | | | doesn't use) to LIBTERMCAP (which it does use). | ||||
* | Fix typo in the instructions. | 2006-02-25 | 1 | -3/+3 | |
| | |||||
* | Remove duplicate and uncredited "Plan for the Improvement of English | 2006-02-25 | 1 | -16/+0 | |
| | | | Spelling", which is also in the file "fortunes". | ||||
* | Correct The Hitchhiker's Guide to the Galaxy entry about dolphins as per | 2006-02-20 | 1 | -8/+10 | |
| | | | page 119 of the book. | ||||
* | moduli utils moved from games to usr.bin. | 2006-01-24 | 1 | -2/+2 | |
| | |||||
* | Remove qsiefe/qsafe from games. Will be put back in usr.bin. | 2006-01-24 | 9 | -1108/+0 | |
| | |||||
* | Bump date for previous. | 2006-01-22 | 1 | -2/+2 | |
| | |||||
* | Drop trailing whitespace. Remove superfluous .br. | 2006-01-22 | 1 | -7/+6 | |
| | |||||
* | better handle ^d in getinp(), so we dont loop endlessly. | 2006-01-20 | 1 | -6/+5 | |
| | | | i have no idea why i wanted to play this game. | ||||
* | oops, make this install to /usr/games and not /... | 2006-01-20 | 1 | -1/+5 | |
| | | | noted by hannken@, thanks. | ||||
* | Descend to moduli too. | 2006-01-19 | 1 | -2/+2 | |
| | |||||
* | Add qsieve and qsafe, two programs used for generating the moduli file. | 2006-01-19 | 9 | -0/+1105 | |
| | | | | | | These were written by William Allen Simpson and submitted in PR 21983, and are added with minor adjustments and nits from christos@ and myself. Approved by christos@ and groo@. | ||||
* | Fix some minor buglets in wump: | 2006-01-19 | 2 | -7/+11 | |
| | | | | | | | | | | 1) Don't put two pits in the same room. 2) Don't put bats and pits in the same room. (you will never hit the bat) 3) Don't start the player in a room with a pit or bad, if possible. Some caves are so crowded the loop may go on forever, so we give up after 100 tries to put them in a safe location (as long as it's not with the wumpus). 4) Make the manpage reflect reality WRT the default number of rooms. Bug #3 pointed out by salo. | ||||
* | Apply patch from PR bin/26501 to fix hang in wump if you play too many | 2006-01-19 | 1 | -8/+7 | |
| | | | | | | games in a row. Also modify change made in rev 1.18 to work correctly. take_action() returns 1 if the player dies, causing the game to allways exit after any death, now the game correctly asks if the player would like to play again. | ||||
* | Simplify error checking. | 2005-11-19 | 1 | -7/+9 | |
| | |||||
* | Replaced one instance of err() with errx(), as the value of errno might not | 2005-11-19 | 1 | -3/+3 | |
| | | | be correct at that time. | ||||
* | Typos, duplicate words, consistent formatting. | 2005-10-29 | 1 | -9/+5 | |
| | |||||
* | Remove trailing spaces, double spaces between words, fix some typos. | 2005-10-29 | 1 | -59/+62 | |
| | |||||
* | Correct typos. | 2005-10-29 | 2 | -2/+2 | |
| | |||||
* | Removed the unnecessary #include <ctype.h>. | 2005-10-18 | 1 | -3/+2 | |
| | |||||
* | Fix two lines which were broken by previous commit. Noticed by Thomas | 2005-10-12 | 1 | -4/+2 | |
| | | | Klausner. | ||||
* | misc/31566: Jaap Boender: update African and Asian capitals to the | 2005-10-12 | 2 | -30/+52 | |
| | | | current situation. | ||||
* | Added an empty line to conform to KNF. | 2005-10-08 | 1 | -2/+3 | |
| | |||||
* | Drop trailing whitespace. | 2005-09-15 | 3 | -46/+46 | |
| | |||||
* | Use standard AUTHORS section header. From YOMURA Masanori in private mail | 2005-09-15 | 21 | -97/+98 | |
| | | | Sort sections if necessary. Use more/better markup. | ||||
* | Sulfur|Sulphur -> Sul[f|ph]ur | 2005-08-14 | 1 | -1/+1 | |
| | |||||
* | Sulfur -> Sulfur | Sulphur | 2005-08-14 | 1 | -1/+1 | |
| | |||||
* | er, forgot the C{a}esium change in the last | 2005-08-14 | 1 | -1/+1 | |
| |