summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Coverity CID 999: Prevent NULL deref.christos2006-03-191-3/+4
|
* Coverity CID 695: Remove impossible condition. This changes the scoring aschristos2006-03-191-5/+3
| | | it was probably intended originally.
* Coverity CID 998: Possible NULL pointer deref. Actually this was a bugchristos2006-03-191-5/+6
| | | | where a house to be sold would be skipped. Change the sell loop to be like the buy side loop.
* fix typochristos2006-03-191-3/+3
|
* Coverity CID 1004: Fix NULL deref.christos2006-03-191-2/+4
|
* Coverity CID 1005: Fix NULL deref and incorrect variable use.christos2006-03-191-11/+16
|
* Coverity CID 1443: Prevent static overrun.christos2006-03-191-4/+6
|
* Coverity CID 827: Prevent NULL pointer deref.christos2006-03-181-3/+3
|
* Coverity CID 1699: Fix memory leaks.christos2006-03-181-12/+21
|
* Coverity CID 2544: Fix memory leak.christos2006-03-181-12/+17
|
* Coverity CID 1786: Close file.christos2006-03-181-2/+3
|
* Coverity CID 570: Remove impossible check.christos2006-03-181-3/+3
|
* Coverity CID 1195: Check for possible negative index.christos2006-03-181-3/+6
|
* Coverity CID 777: Fix NULL pointer deref and de-obfuscate code.christos2006-03-181-7/+7
|
* Coverity CID 1230: Remove spurious close().christos2006-03-181-3/+2
|
* Coverity CID 1294: Avoid negative variable used as index.christos2006-03-181-3/+4
|
* Coverity CID 1295: Don't allow cchose to return a negative number. It ischristos2006-03-181-2/+6
| | | used as an index.
* fclose() open FILE * even though we are returning to fail anyway.rtr2006-03-181-3/+5
| | | silences coverity, CID 1590 / run 5
* don't access out of bounds element of static alloc array.rtr2006-03-181-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 theabs2006-03-182-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 564abs2006-03-171-2/+6
|
* Add a missing bp->b_score not null check - addresses Coverity CID 1003abs2006-03-171-3/+3
|
* if getpwuid() returns null, print out the uid rather than dereferencingabs2006-03-171-7/+15
| | | Addresses Coverity CID 930
* Fix overrun in players[] array. Addresses Coverty CID 1457abs2006-03-171-3/+3
|
* If getpwuid() returns null, its not usually a good idea to dereferenceabs2006-03-171-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.abs2006-03-171-2/+4
| | | Coverty CID 2063
* Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.simonb2006-02-251-5/+2
|
* Change DPADD from LIBTERM (which doesn't exist) and LIBCOMPAT (which itsimonb2006-02-251-2/+2
| | | doesn't use) to LIBTERMCAP (which it does use).
* Fix typo in the instructions.wiz2006-02-251-3/+3
|
* Remove duplicate and uncredited "Plan for the Improvement of Englishwiz2006-02-251-16/+0
| | | Spelling", which is also in the file "fortunes".
* Correct The Hitchhiker's Guide to the Galaxy entry about dolphins as perjnemeth2006-02-201-8/+10
| | | page 119 of the book.
* moduli utils moved from games to usr.bin.elad2006-01-241-2/+2
|
* Remove qsiefe/qsafe from games. Will be put back in usr.bin.elad2006-01-249-1108/+0
|
* Bump date for previous.wiz2006-01-221-2/+2
|
* Drop trailing whitespace. Remove superfluous .br.wiz2006-01-221-7/+6
|
* better handle ^d in getinp(), so we dont loop endlessly.elad2006-01-201-6/+5
| | | i have no idea why i wanted to play this game.
* oops, make this install to /usr/games and not /...elad2006-01-201-1/+5
| | | noted by hannken@, thanks.
* Descend to moduli too.elad2006-01-191-2/+2
|
* Add qsieve and qsafe, two programs used for generating the moduli file.elad2006-01-199-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:garbled2006-01-192-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 manygarbled2006-01-191-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.christos2005-11-191-7/+9
|
* Replaced one instance of err() with errx(), as the value of errno might notrillig2005-11-191-3/+3
| | | be correct at that time.
* Typos, duplicate words, consistent formatting.mjl2005-10-291-9/+5
|
* Remove trailing spaces, double spaces between words, fix some typos.mjl2005-10-291-59/+62
|
* Correct typos.mjl2005-10-292-2/+2
|
* Removed the unnecessary #include <ctype.h>.rillig2005-10-181-3/+2
|
* Fix two lines which were broken by previous commit. Noticed by Thomasrpaulo2005-10-121-4/+2
| | | Klausner.
* misc/31566: Jaap Boender: update African and Asian capitals to therpaulo2005-10-122-30/+52
| | | current situation.
* Added an empty line to conform to KNF.rillig2005-10-081-2/+3
|