Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't try to switch a char and have a case of EOF - use an int. | mrg | 2006-05-18 | 1 | -5/+6 |
| | |||||
* | Coverity CID 2737: Handle linked-lists properly. Use calloc instead of malloc | christos | 2006-03-21 | 1 | -7/+8 |
| | | | | | so that we don't end up storing garbage accidentally and the next pointer is initialized. If there is an inconsistency in the file abort instead of dereferencing NULL. | ||||
* | 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 |
| | |||||
* | KNF and WARNS=3 | jmc | 2005-07-01 | 1 | -70/+76 |
| | |||||
* | off-by-one. aaron@openbsd | itojun | 2003-09-19 | 1 | -3/+3 |
| | |||||
* | off-by-one. aaron@openbsd | itojun | 2003-09-19 | 1 | -3/+3 |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 1 | -7/+3 |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | Use err(1, NULL) and warn(NULL) for `out of memory' error messages. | jsm | 2000-01-09 | 1 | -5/+5 |
| | |||||
* | The game adventure(6) handles EOF on standard input rather | hubertf | 1999-02-10 | 1 | -10/+19 |
| | | | | | | ungracefully. The patch, derived from OpenBSD, improves this handling. Sent in in PR 6556 by Joseph Myers <jsm28@cam.ac.uk>. | ||||
* | return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-14 | 1 | -12/+7 |
| | |||||
* | check for malloc failures (PR#6136 by Joseph Myers <jsm28@cam.ac.uk>) | hubertf | 1998-09-13 | 1 | -5/+11 |
| | |||||
* | constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1998-09-13 | 1 | -5/+5 |
| | |||||
* | Remove unused function and unnecessary prototypes, as per PR 6050 by | hubertf | 1998-08-29 | 1 | -16/+2 |
| | | | Joseph Myers <jsm28@cam.ac.uk> | ||||
* | KNFify | lukem | 1997-10-11 | 1 | -303/+361 |
| | |||||
* | deprecate register, fixup .Nm usage | lukem | 1997-10-10 | 1 | -22/+22 |
| | |||||
* | PR/3964: Eric Fischer: Remove dependencies to traditional cpp... | christos | 1997-08-11 | 1 | -15/+34 |
| | | | While I was there add WARNS?= too. | ||||
* | Various changes to make games compile w/o warnings on the alpha: | cgd | 1995-04-24 | 1 | -2/+3 |
| | | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. | ||||
* | clean up RCS ids | cgd | 1995-03-21 | 1 | -0/+6 |
| | |||||
* | adventure(6), from 44lite | jtc | 1994-10-21 | 1 | -0/+514 |