Home | History | Annotate | Download | only in hack
History log of /src/games/hack/hack.h
RevisionDateAuthorComments
 1.16  06-Aug-2011  dholland Use the right type for the malloc wrapper function, and don't cast the
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.)
 1.15  06-Aug-2011  dholland abolish references to index/rindex
 1.14  02-Jul-2011  mrg include sys/time.h earlier (rather than implicitly via fcntl.h) so that
the "u" variable doesn't shadow stuff, found later in time.h inlines.

kind of a hack, but i don't want to modify time.h either.

XXX: seems kind of annoying
 1.13  29-Jun-2009  dholland Fix two serious string-handling bugs (one exploitable, one probably
exploitable) and also add proper checking/paranoia in several other
places.
 1.12  07-Jun-2009  dholland a bit more const
 1.11  07-Jun-2009  dholland sprinkle some more const
 1.10  27-Jan-2004  jsm branches: 1.10.16; 1.10.26; 1.10.38; 1.10.42;
Remove uses of __P.
 1.9  02-Apr-2003  jsm Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and
CWI <http://www.cwi.nl/~aeb/games/hack/hack.html>. Via OpenBSD.
Addresses part of PR bin/5850.
 1.8  25-Mar-2001  jsm Make mostly gcc -W clean, and other cleanup:
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.
 1.7  05-Feb-2001  christos fix redundant decls and nested externs. while I am here change my copyright
to TNF.
 1.6  16-Jan-2001  cgd comment or delete text after CPP directives.
 1.5  03-Jul-2000  matt More include additions for exit, abs, strcmp, etc.
 1.4  19-Oct-1997  christos WARNsify...
 1.3  23-Mar-1995  cgd merge with Lite, new RCS id conventions, etc.
 1.2  02-Aug-1993  mycroft alloc.c
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.42.1  29-Jun-2009  snj branches: 1.10.42.1.2;
Pull up following revision(s) (requested by dholland in ticket #844):
games/hack/hack.unix.c: revision 1.13
games/hack/hack.topl.c: revision 1.11
games/hack/hack.invent.c: revision 1.13
games/hack/hack.rip.c: revision 1.11
games/hack/hack.main.c: revision 1.13
games/hack/hack.h: revision 1.13 via patch
games/hack/hack.do_name.c: revision 1.10
Fix two serious string-handling bugs (one exploitable, one probably
exploitable) and also add proper checking/paranoia in several other
places.
 1.10.42.1.2.1  21-Apr-2010  matt sync to netbsd-5
 1.10.38.1  29-Jun-2009  snj Pull up following revision(s) (requested by dholland in ticket #844):
games/hack/hack.unix.c: revision 1.13
games/hack/hack.topl.c: revision 1.11
games/hack/hack.invent.c: revision 1.13
games/hack/hack.rip.c: revision 1.11
games/hack/hack.main.c: revision 1.13
games/hack/hack.h: revision 1.13 via patch
games/hack/hack.do_name.c: revision 1.10
Fix two serious string-handling bugs (one exploitable, one probably
exploitable) and also add proper checking/paranoia in several other
places.
 1.10.26.1  29-Jun-2009  snj Pull up following revision(s) (requested by dholland in ticket #1331):
games/hack/hack.do_name.c: revision 1.10
games/hack/hack.h: revision 1.13 via patch
games/hack/hack.invent.c: revision 1.13
games/hack/hack.main.c: revision 1.13
games/hack/hack.rip.c: revision 1.11
games/hack/hack.topl.c: revision 1.11
games/hack/hack.unix.c: revision 1.13
Fix two serious string-handling bugs (one exploitable, one probably
exploitable) and also add proper checking/paranoia in several other
places.
 1.10.16.1  29-Jun-2009  snj Pull up following revision(s) (requested by dholland in ticket #1331):
games/hack/hack.do_name.c: revision 1.10
games/hack/hack.h: revision 1.13 via patch
games/hack/hack.invent.c: revision 1.13
games/hack/hack.main.c: revision 1.13
games/hack/hack.rip.c: revision 1.11
games/hack/hack.topl.c: revision 1.11
games/hack/hack.unix.c: revision 1.13
Fix two serious string-handling bugs (one exploitable, one probably
exploitable) and also add proper checking/paranoia in several other
places.

RSS XML Feed