| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Coverity CID 868: Fix possible NULL deref (after INFTIM passes :-) | christos | 2006-03-19 | 1 | -3/+5 | |
| | | ||||||
| * | Coverity CID 980: Prevent an impossible NULL point deref. | christos | 2006-03-19 | 1 | -3/+3 | |
| | | ||||||
| * | Coverity CID 2073: Fix memory leak. | christos | 2006-03-19 | 1 | -2/+4 | |
| | | ||||||
| * | Coverity CID 999: Prevent NULL deref. | christos | 2006-03-19 | 1 | -3/+4 | |
| | | ||||||
| * | Coverity CID 695: Remove impossible condition. This changes the scoring as | christos | 2006-03-19 | 1 | -5/+3 | |
| | | | | it was probably intended originally. | |||||
| * | Coverity CID 998: Possible NULL pointer deref. Actually this was a bug | christos | 2006-03-19 | 1 | -5/+6 | |
| | | | | | where a house to be sold would be skipped. Change the sell loop to be like the buy side loop. | |||||
| * | fix typo | christos | 2006-03-19 | 1 | -3/+3 | |
| | | ||||||
| * | Coverity CID 1004: Fix NULL deref. | christos | 2006-03-19 | 1 | -2/+4 | |
| | | ||||||
| * | Coverity CID 1005: Fix NULL deref and incorrect variable use. | christos | 2006-03-19 | 1 | -11/+16 | |
| | | ||||||
| * | Coverity CID 1443: Prevent static overrun. | christos | 2006-03-19 | 1 | -4/+6 | |
| | | ||||||
| * | Coverity CID 827: Prevent NULL pointer deref. | christos | 2006-03-18 | 1 | -3/+3 | |
| | | ||||||
| * | Coverity CID 1699: Fix memory leaks. | christos | 2006-03-18 | 1 | -12/+21 | |
| | | ||||||
| * | Coverity CID 2544: Fix memory leak. | christos | 2006-03-18 | 1 | -12/+17 | |
| | | ||||||
| * | Coverity CID 1786: Close file. | christos | 2006-03-18 | 1 | -2/+3 | |
| | | ||||||
| * | Coverity CID 570: Remove impossible check. | christos | 2006-03-18 | 1 | -3/+3 | |
| | | ||||||
| * | Coverity CID 1195: Check for possible negative index. | christos | 2006-03-18 | 1 | -3/+6 | |
| | | ||||||
| * | Coverity CID 777: Fix NULL pointer deref and de-obfuscate code. | christos | 2006-03-18 | 1 | -7/+7 | |
| | | ||||||
| * | Coverity CID 1230: Remove spurious close(). | christos | 2006-03-18 | 1 | -3/+2 | |
| | | ||||||
| * | Coverity CID 1294: Avoid negative variable used as index. | christos | 2006-03-18 | 1 | -3/+4 | |
| | | ||||||
| * | Coverity CID 1295: Don't allow cchose to return a negative number. It is | christos | 2006-03-18 | 1 | -2/+6 | |
| | | | | used as an index. | |||||
| * | fclose() open FILE * even though we are returning to fail anyway. | rtr | 2006-03-18 | 1 | -3/+5 | |
| | | | | silences coverity, CID 1590 / run 5 | |||||
| * | don't access out of bounds element of static alloc array. | rtr | 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 | abs | 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 | abs | 2006-03-17 | 1 | -2/+6 | |
| | | ||||||
| * | Add a missing bp->b_score not null check - addresses Coverity CID 1003 | abs | 2006-03-17 | 1 | -3/+3 | |
| | | ||||||
| * | if getpwuid() returns null, print out the uid rather than dereferencing | abs | 2006-03-17 | 1 | -7/+15 | |
| | | | | Addresses Coverity CID 930 | |||||
| * | Fix overrun in players[] array. Addresses Coverty CID 1457 | abs | 2006-03-17 | 1 | -3/+3 | |
| | | ||||||
| * | If getpwuid() returns null, its not usually a good idea to dereference | abs | 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. | abs | 2006-03-17 | 1 | -2/+4 | |
| | | | | Coverty CID 2063 | |||||
| * | Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. | simonb | 2006-02-25 | 1 | -5/+2 | |
| | | ||||||
| * | Change DPADD from LIBTERM (which doesn't exist) and LIBCOMPAT (which it | simonb | 2006-02-25 | 1 | -2/+2 | |
| | | | | doesn't use) to LIBTERMCAP (which it does use). | |||||
| * | Fix typo in the instructions. | wiz | 2006-02-25 | 1 | -3/+3 | |
| | | ||||||
| * | Remove duplicate and uncredited "Plan for the Improvement of English | wiz | 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 | jnemeth | 2006-02-20 | 1 | -8/+10 | |
| | | | | page 119 of the book. | |||||
| * | moduli utils moved from games to usr.bin. | elad | 2006-01-24 | 1 | -2/+2 | |
| | | ||||||
| * | Remove qsiefe/qsafe from games. Will be put back in usr.bin. | elad | 2006-01-24 | 9 | -1108/+0 | |
| | | ||||||
| * | Bump date for previous. | wiz | 2006-01-22 | 1 | -2/+2 | |
| | | ||||||
| * | Drop trailing whitespace. Remove superfluous .br. | wiz | 2006-01-22 | 1 | -7/+6 | |
| | | ||||||
| * | better handle ^d in getinp(), so we dont loop endlessly. | elad | 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 /... | elad | 2006-01-20 | 1 | -1/+5 | |
| | | | | noted by hannken@, thanks. | |||||
| * | Descend to moduli too. | elad | 2006-01-19 | 1 | -2/+2 | |
| | | ||||||
| * | Add qsieve and qsafe, two programs used for generating the moduli file. | elad | 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: | garbled | 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 | garbled | 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. | christos | 2005-11-19 | 1 | -7/+9 | |
| | | ||||||
| * | Replaced one instance of err() with errx(), as the value of errno might not | rillig | 2005-11-19 | 1 | -3/+3 | |
| | | | | be correct at that time. | |||||
| * | Typos, duplicate words, consistent formatting. | mjl | 2005-10-29 | 1 | -9/+5 | |
| | | ||||||
| * | Remove trailing spaces, double spaces between words, fix some typos. | mjl | 2005-10-29 | 1 | -59/+62 | |
| | | ||||||
| * | Correct typos. | mjl | 2005-10-29 | 2 | -2/+2 | |
| | | ||||||
| * | Removed the unnecessary #include <ctype.h>. | rillig | 2005-10-18 | 1 | -3/+2 | |
| | | ||||||
