Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | games/hack: Revert the strlcpy(1) change since this changes expected ↵ | 2020-02-07 | 1 | -3/+3 | |
| | | | | | behavior from strncpy(3). Reviewed by: kamil@ | ||||
* | games/hack: Fix -Wstringop-truncation warning. | 2020-02-07 | 1 | -3/+3 | |
| | | | | | | | Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ | ||||
* | Fix up still more casts; use NULL instead of (char *)0. | 2011-08-06 | 1 | -3/+3 | |
| | |||||
* | Remove more silly casts. | 2011-08-06 | 1 | -3/+3 | |
| | |||||
* | Use the right type for the malloc wrapper function, and don't cast the | 2011-08-06 | 1 | -3/+3 | |
| | | | | | | | | return value. (XXX: Except for a pile of allocation macros that produce typed pointer results; there the typechecking of the result assignment is more valuable than the warning if the alloc function isn't declared properly. These macros should go away.) | ||||
* | Userland now builds and uses terminfo instead of termcap. | 2010-02-03 | 1 | -3/+3 | |
| | | | OK: core@, jdc@ | ||||
* | sprinkle static | 2009-08-12 | 1 | -12/+22 | |
| | |||||
* | sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate | 2009-06-07 | 1 | -43/+79 | |
| | | | XXX: there's still one sprintf left which will take some hacking to expunge. | ||||
* | ANSIfy function declarations. All object file diffs inspected. | 2009-06-07 | 1 | -29/+17 | |
| | |||||
* | Change getdate() to getdatestr() since the former maybe present on systems | 2009-05-06 | 1 | -3/+3 | |
| | | | | supporting X/Open System Interfaces Extension (XSI) getdate() in <time.h>. This prevents a function prototype conflict. | ||||
* | Make hack build with WARNS=4. | 2008-01-28 | 1 | -13/+15 | |
| | |||||
* | convert __attribute__s to applicable cdefs.h macros | 2007-12-15 | 1 | -4/+4 | |
| | |||||
* | Coverity CID 3382: Fix memory leak. | 2006-05-13 | 1 | -2/+3 | |
| | |||||
* | Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and | 2003-04-02 | 1 | -3/+60 | |
| | | | | CWI <http://www.cwi.nl/~aeb/games/hack/hack.html>. Via OpenBSD. Addresses part of PR bin/5850. | ||||
* | Make mostly gcc -W clean, and other cleanup: | 2001-03-25 | 1 | -11/+10 | |
| | | | | | | | | | | | | Use const. Add __noreturn__ attributes. Add a __format__ attribute. Add __unused__ attributes. Use symbolic constants for open() and lseek(). Declare types of all function parameters; convert some function definitions to ISO C form. Ensure standard file descriptors are open on startup. Check for errors writing output of makedefs. Avoid duplicate definitions of variables. | ||||
* | WARNsify... | 1997-10-19 | 1 | -394/+481 | |
| | |||||
* | merge with Lite, new RCS id conventions, etc. | 1995-03-23 | 1 | -1/+1 | |
| | |||||
* | alloc.c | 1993-08-02 | 1 | -2/+7 | |
| | |||||
* | initial import of 386bsd-0.1 sources | 1993-03-21 | 1 | -0/+642 | |