History log of /src/games/hack/hack.topl.c |
Revision | | Date | Author | Comments |
1.15 |
| 22-Sep-2025 |
christos | llvm does not know -Wno-error=restrict, check for what gcc is worried about.
|
1.14 |
| 06-Aug-2011 |
dholland | Remove more silly casts.
|
1.13 |
| 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.12 |
| 12-Aug-2009 |
dholland | sprinkle static
|
1.11 |
| 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.10 |
| 07-Jun-2009 |
dholland | sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate XXX: there's still one sprintf left which will take some hacking to expunge.
|
1.9 |
| 07-Jun-2009 |
dholland | ANSIfy function declarations. All object file diffs inspected.
|
1.8 |
| 28-Jan-2008 |
dholland | branches: 1.8.10; 1.8.14; Make hack build with WARNS=4.
|
1.7 |
| 02-Apr-2003 |
jsm | branches: 1.7.16; 1.7.22; 1.7.26; 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.6 |
| 26-May-2002 |
wiz | __STDC__ is always defined on NetBSD.
|
1.5 |
| 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.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 | Add RCS identifiers, remove some completely useless RCS logs and patchkit headers, and a few other insignificant changes.
|
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.7.26.2 |
| 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.7.26.1 |
| 29-Jun-2009 |
snj | Pull up following revision(s) (requested by dholland in ticket #1331): games/hack/extern.h: revision 1.11 games/hack/hack.do_name.c: revision 1.9 games/hack/hack.eat.c: revision 1.8 games/hack/hack.end.c: revision 1.12 via patch games/hack/hack.fight.c: revision 1.10 via patch games/hack/hack.invent.c: revision 1.12 games/hack/hack.main.c: revision 1.12 games/hack/hack.objnam.c: revision 1.9 games/hack/hack.options.c: revision 1.9 games/hack/hack.pri.c: revision 1.11 games/hack/hack.rip.c: revision 1.10 games/hack/hack.shk.c: revision 1.10 games/hack/hack.topl.c: revision 1.10 games/hack/hack.unix.c: revision 1.12 sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate XXX: there's still one sprintf left which will take some hacking to expunge.
|
1.7.22.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.7.16.2 |
| 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.7.16.1 |
| 29-Jun-2009 |
snj | Pull up following revision(s) (requested by dholland in ticket #1331): games/hack/extern.h: revision 1.11 games/hack/hack.do_name.c: revision 1.9 games/hack/hack.eat.c: revision 1.8 games/hack/hack.end.c: revision 1.12 via patch games/hack/hack.fight.c: revision 1.10 via patch games/hack/hack.invent.c: revision 1.12 games/hack/hack.main.c: revision 1.12 games/hack/hack.objnam.c: revision 1.9 games/hack/hack.options.c: revision 1.9 games/hack/hack.pri.c: revision 1.11 games/hack/hack.rip.c: revision 1.10 games/hack/hack.shk.c: revision 1.10 games/hack/hack.topl.c: revision 1.10 games/hack/hack.unix.c: revision 1.12 sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate XXX: there's still one sprintf left which will take some hacking to expunge.
|
1.8.14.2 |
| 29-Jun-2009 |
snj | branches: 1.8.14.2.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.8.14.1 |
| 29-Jun-2009 |
snj | Pull up following revision(s) (requested by dholland in ticket #844): games/hack/extern.h: revision 1.11 games/hack/hack.pri.c: revision 1.11 games/hack/hack.do_name.c: revision 1.9 games/hack/hack.fight.c: revision 1.10 games/hack/hack.topl.c: revision 1.10 games/hack/hack.invent.c: revision 1.12 games/hack/hack.rip.c: revision 1.10 games/hack/hack.options.c: revision 1.9 games/hack/hack.main.c: revision 1.12 games/hack/hack.eat.c: revision 1.8 games/hack/hack.shk.c: revision 1.10 games/hack/hack.end.c: revision 1.12 games/hack/hack.objnam.c: revision 1.9 games/hack/hack.unix.c: revision 1.12 sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate XXX: there's still one sprintf left which will take some hacking to expunge.
|
1.8.14.2.2.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.8.10.2 |
| 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.8.10.1 |
| 29-Jun-2009 |
snj | Pull up following revision(s) (requested by dholland in ticket #844): games/hack/hack.fight.c: revision 1.10 games/hack/hack.topl.c: revision 1.10 games/hack/hack.invent.c: revision 1.12 games/hack/hack.rip.c: revision 1.10 games/hack/hack.options.c: revision 1.9 games/hack/hack.main.c: revision 1.12 games/hack/hack.eat.c: revision 1.8 games/hack/hack.do_name.c: revision 1.9 games/hack/hack.shk.c: revision 1.10 games/hack/hack.end.c: revision 1.12 games/hack/extern.h: revision 1.11 games/hack/hack.pri.c: revision 1.11 games/hack/hack.objnam.c: revision 1.9 games/hack/hack.unix.c: revision 1.12 sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriate XXX: there's still one sprintf left which will take some hacking to expunge.
|