Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | games: remove trailing whitespace in *.c and *.h | 2021-05-05 | 1 | -5/+5 | |
| | |||||
* | games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance. | 2020-02-06 | 1 | -6/+6 | |
| | | | Reviewed by: kamil@ | ||||
* | games/battlestar: Fix the -Werror=restrict warning. | 2020-02-05 | 1 | -6/+6 | |
| | | | | | | | | Replace strcpy(1) with the safer snprintf(3) which guarantees NULL termination of strings. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | ||||
* | KNF and WARNS=3 | 2005-07-01 | 1 | -13/+13 | |
| | |||||
* | Remove uses of __P. | 2004-01-27 | 1 | -5/+5 | |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | 2003-08-07 | 1 | -7/+3 | |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | `existent', not `existant' | 2001-06-19 | 1 | -3/+3 | |
| | |||||
* | Make hash table static in parse.c. | 2000-09-24 | 1 | -2/+8 | |
| | |||||
* | Make functions local to parse.c static. | 2000-09-24 | 1 | -5/+9 | |
| | |||||
* | Remove all adjectives in parse(), since they are nowhere used. Fixes | 2000-09-22 | 1 | -2/+13 | |
| | | | | crash on "carry old all" shown up by fuzz testing. Patch from Paul Janzen <pjanzen@foatdi.harvard.edu>. | ||||
* | Various improvements to parsing in battlestar, mostly from OpenBSD. | 2000-09-21 | 1 | -2/+60 | |
| | | | | | | | | | | | | | | | | | | | | Define a constant WORDLEN. Always use this constant and NWORD where appropriate. Use NWORD - 1 in battlestar.c to avoid off-by-one error. Increment wordnumber after the INVEN verb to allow it to be followed by a comma and other actions. Avoid overflowing elements of the words array if input words are too long. Parse "," as AND except when followed by a verb, to allow such constructions as "take foo, bar, and baz". Trim AND AND which may occur from the ", and" in such a list. Avoid crashes from EVERYTHING in the wrong place by moving it to the start of OBJECT AND EVERYTHING and NOUNS AND EVERYTHING sequences, and trimming EVERYTHING AND EVERYTHING. | ||||
* | Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk> | 1999-02-10 | 1 | -4/+4 | |
| | |||||
* | KNFify (with indent) | 1997-10-11 | 1 | -11/+11 | |
| | |||||
* | WARNSify | 1997-10-10 | 1 | -9/+14 | |
| | |||||
* | Sync to 4.4BSD-Lite2 | 1997-01-07 | 1 | -4/+4 | |
| | |||||
* | clean up import | 1995-03-21 | 1 | -4/+9 | |
| | |||||
* | Add RCS identifiers. | 1993-08-01 | 1 | -1/+2 | |
| | |||||
* | initial import of 386bsd-0.1 sources | 1993-03-21 | 1 | -0/+101 | |