summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Drop trailing whitespace.wiz2005-09-153-46/+46
|
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-1521-97/+98
| | | Sort sections if necessary. Use more/better markup.
* Sulfur|Sulphur -> Sul[f|ph]urperry2005-08-141-1/+1
|
* Sulfur -> Sulfur | Sulphurperry2005-08-141-1/+1
|
* er, forgot the C{a}esium change in the lastperry2005-08-141-1/+1
|
* 1) Update atomic weights.perry2005-08-141-73/+84
| | | | | | | | | | | The weights here are taken from http://www.iupac.org/publications/pac/2003/7508/7508x1107.html and have been rounded to four significant figures in all cases. In the case of elements that have no isotopes stable enough for reasonable measurement, numbers have been updated from Zumdahl, "Chemistry", Fifth edition and are presented (as before) in parentheses. 2) Cesium is now C{a}esium 3) A number of new elements have been added at the end of the periodic table.
* Aluminum -> Alumin{i}umperry2005-08-141-1/+1
| | | | Aluminium is really the official name, but doing it this way allows entry of either answer.
* Sulphur -> Sulfurperry2005-08-141-1/+1
| | | | | Although the traditional spelling in commonwealth countries is "Sulphur", the official IUPAC name of the element is "Sulfur", and even the Royal Society of Chemistry now spells it "Sulfur".
* Added a missing '-' in score list output.rpaulo2005-08-101-3/+3
|
* Pass lint(1).rpaulo2005-08-107-248/+271
|
* Enable WARNS=3.rpaulo2005-08-101-1/+2
|
* Fixed an output bug where a new-line was added due the usage of puts(3).rpaulo2005-08-101-4/+4
|
* Pass lint(1).rpaulo2005-08-101-3/+5
|
* Enable WARNS=3.rpaulo2005-08-101-1/+2
|
* add a new style cast to memcpy.christos2005-08-091-3/+3
|
* Enable WARNS=3 and pass lint(1).rpaulo2005-08-092-24/+26
| | | ok christos@
* Pass WARNS=3christos2005-08-096-28/+29
|