CVS commit: src/games/hack

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 00:59:55 UTC 2020 Modified Files: src/games/hack: Makefile Log Message: games/hack: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure. Error was reported wh

CVS commit: src/games/hack

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 22:04:02 UTC 2020 Modified Files: src/games/hack: hack.end.c Log Message: games/hack: Revert the strlcpy(1) change since this changes expected behavior from strncpy(3). Reviewed by: kamil@ To generate a diff of this co

CVS commit: src/games/hack

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 20:34:18 UTC 2020 Modified Files: src/games/hack: hack.end.c Log Message: games/hack: Fix -Wstringop-truncation warning. Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with MKLIBCSANITIZER=

CVS commit: src/games/hack

2019-02-03 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 03:33:15 UTC 2019 Modified Files: src/games/hack: hack.eat.c Log Message: - done() can return in wizard mode. don't NOTREACHED'd it but break instead. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/

CVS commit: src/games/hack

2011-08-27 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Aug 27 23:42:33 UTC 2011 Modified Files: src/games/hack: extern.h Log Message: Mark error() as dead, so that validation for setclipped works correctly. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/games/h

CVS commit: src/games/hack

2011-08-24 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Wed Aug 24 17:39:32 UTC 2011 Modified Files: src/games/hack: Makefile Log Message: -Wno-shadow is no longer needed for HAVE_PCC, here To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/games/hack/Makefile Please

CVS commit: src/games/hack

2011-08-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 16 09:26:22 UTC 2011 Modified Files: src/games/hack: Makefile def.monst.h hack.monst.c hack.vault.c Log Message: - document non-literal format strings - avoid strict aliasing violations, but adding an intermediate functi

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Aug 7 06:03:45 UTC 2011 Modified Files: src/games/hack: hack.apply.c hack.c hack.do_name.c hack.dog.c hack.eat.c hack.engrave.c hack.invent.c hack.mkobj.c hack.mkshop.c hack.mon.c hack.objnam.c hack.s

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 20:42:44 UTC 2011 Modified Files: src/games/hack: hack.apply.c hack.cmd.c hack.eat.c hack.end.c hack.engrave.c hack.invent.c hack.ioctl.c hack.main.c hack.mklev.c hack.o_init.c hack.pager.c hack

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 20:32:25 UTC 2011 Modified Files: src/games/hack: hack.lev.c hack.o_init.c Log Message: Remove *another* set of useless casts. sheesh To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/games/hack/hack

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 20:29:37 UTC 2011 Modified Files: src/games/hack: hack.do.c hack.do_name.c hack.end.c hack.engrave.c hack.invent.c hack.lev.c hack.mon.c hack.pager.c hack.read.c hack.shk.c hack.steal.c hack.top

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 20:24:35 UTC 2011 Modified Files: src/games/hack: hack.mon.c Log Message: drop private (and wrong) definition of NULL To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/games/hack/hack.mon.c Please n

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 20:18:26 UTC 2011 Modified Files: src/games/hack: alloc.c def.gen.h def.gold.h def.monst.h def.obj.h def.trap.h def.wseg.h extern.h hack.end.c hack.engrave.c hack.h hack.o_init.c hack.pager.c ha

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 20:00:33 UTC 2011 Modified Files: src/games/hack: extern.h hack.engrave.c hack.lev.c hack.o_init.c hack.save.c Log Message: Remove silly casts. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 19:53:24 UTC 2011 Modified Files: src/games/hack: config.h hack.pager.c Log Message: is standard, so just use it instead of fiddling about with ifdefs for long-dead systems. While here, remove union wait. To genera

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 19:47:54 UTC 2011 Modified Files: src/games/hack: config.h hack.h Log Message: abolish references to index/rindex To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/games/hack/config.h cvs rdiff -u -r1.

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 19:32:59 UTC 2011 Modified Files: src/games/hack: config.h hack.u_init.c Log Message: Remove the PYRAMID_BUG code. I don't think Pyramids are coming back, nor do we care if their compiler vomits trying to decrement a

CVS commit: src/games/hack

2011-08-06 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 6 19:23:38 UTC 2011 Modified Files: src/games/hack: def.objclass.h Log Message: Don't refer to index() in comments; use strchr(). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/games/hack/def.objclass

CVS commit: src/games/hack

2011-07-20 Thread David A. Holland
Module Name:src Committed By: dholland Date: Wed Jul 20 07:04:30 UTC 2011 Modified Files: src/games/hack: hack.bones.c hack.do.c Log Message: Include system headers before private headers. Avoids various possible symbol conflicts. To generate a diff of this commit: cvs r

CVS commit: src/games/hack

2011-07-01 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 2 02:10:33 UTC 2011 Modified Files: src/games/hack: hack.h Log Message: 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

CVS commit: src/games/hack

2011-07-01 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 2 02:09:09 UTC 2011 Modified Files: src/games/hack: hack.wield.c Log Message: rename a variable from "time" to "stime" (it's a string) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/games/hack/hack.wield.c

CVS commit: src/games/hack

2011-05-29 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon May 30 03:11:15 UTC 2011 Modified Files: src/games/hack: extern.h hack.mon.c Log Message: Use consistent sign in compare, the function is only called with constants as third argument anyway. To generate a diff of this commit:

CVS commit: src/games/hack

2011-05-23 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon May 23 22:53:25 UTC 2011 Modified Files: src/games/hack: hack.apply.c hack.eat.c hack.invent.c hack.main.c hack.options.c hack.pager.c hack.potion.c hack.rumors.c hack.timeout.c Log Message: Correctly pr

CVS commit: src/games/hack

2010-01-17 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Jan 17 22:55:21 UTC 2010 Modified Files: src/games/hack: alloc.c Log Message: Simplify alloc() to avoid ifdef(LINT) workaround. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/games/hack/alloc.c Please note tha

CVS commit: src/games/hack

2009-06-29 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Jun 29 23:05:33 UTC 2009 Modified Files: src/games/hack: hack.do_name.c hack.h hack.invent.c hack.main.c hack.rip.c hack.topl.c hack.unix.c Log Message: Fix two serious string-handling bugs (one exploitable, one

CVS commit: src/games/hack

2009-06-07 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jun 7 21:04:54 UTC 2009 Modified Files: src/games/hack: hack.Decl.c hack.h Log Message: a bit more const To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/games/hack/hack.Decl.c cvs rdiff -u -r1.11 -r1.12 sr

CVS commit: src/games/hack

2009-06-07 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jun 7 20:31:10 UTC 2009 Modified Files: src/games/hack: hack.Decl.c hack.fight.c hack.h Log Message: sprinkle some more const To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/games/hack/hack.Decl.c cvs rdif

CVS commit: src/games/hack

2009-06-07 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jun 7 20:30:49 UTC 2009 Modified Files: src/games/hack: hack.engrave.c Log Message: remove unnecessary casts To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/games/hack/hack.engrave.c Please note that diff

CVS commit: src/games/hack

2009-06-07 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jun 7 20:25:38 UTC 2009 Modified Files: src/games/hack: hack.save.c Log Message: remove unnecessary casts To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/games/hack/hack.save.c Please note that diffs ar

CVS commit: src/games/hack

2009-06-07 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jun 7 20:13:18 UTC 2009 Modified Files: src/games/hack: extern.h hack.do_name.c hack.eat.c hack.end.c hack.fight.c hack.invent.c hack.main.c hack.objnam.c hack.options.c hack.pri.c hack.rip.c hack.shk

CVS commit: src/games/hack

2009-05-05 Thread Brian Ginsbach
Module Name:src Committed By: ginsbach Date: Wed May 6 02:59:12 UTC 2009 Modified Files: src/games/hack: extern.h hack.end.c hack.unix.c Log Message: Change getdate() to getdatestr() since the former maybe present on systems supporting X/Open System Interfaces Extension (