summaryrefslogtreecommitdiff
path: root/games/hack
AgeCommit message (Expand)Author
2021-05-02games: remove trailing whitespace in *.c and *.hrillig
2020-02-08games/hack: Suppress -Werror=stringop-truncation error.fox
2020-02-07games/hack: Revert the strlcpy(1) change since this changes expected behavior...fox
2020-02-07games/hack: Fix -Wstringop-truncation warning.fox
2019-10-13introduce some common variables for use in GCC warning disables:mrg
2019-02-04- done() can return in wizard mode. don't NOTREACHED'd itmrg
2019-02-03- enlarge buffer to avoid snprintf() truncationmrg
2014-10-181) "It's its"snj
2012-06-19WARNS=5, and make WARNS=5 the default for src/games.dholland
2011-10-03Use tiparm instead of vtparm.roy
2011-09-01reinstate NULL cast by request, where the NULL was being passed as a varargplunky
2011-08-31NULL does not need a castplunky
2011-08-27Mark error() as dead, so that validation for setclipped works correctly.joerg
2011-08-26Use __dead and __printflike instead of __attribute__.dholland
2011-08-24-Wno-shadow is no longer needed for HAVE_PCC, hereplunky
2011-08-16- document non-literal format stringschristos
2011-08-07Fix up some lint.dholland
2011-08-06Fix up still more casts; use NULL instead of (char *)0.dholland
2011-08-06Remove *another* set of useless casts. sheeshdholland
2011-08-06Remove more silly casts.dholland
2011-08-06drop private (and wrong) definition of NULLdholland
2011-08-06Use the right type for the malloc wrapper function, and don't cast thedholland
2011-08-06Remove silly casts.dholland
2011-08-06<sys/wait.h> is standard, so just use it instead of fiddling about withdholland
2011-08-06abolish references to index/rindexdholland
2011-08-06Remove the PYRAMID_BUG code. I don't think Pyramids are coming back, nordholland
2011-08-06Don't refer to index() in comments; use strchr().dholland
2011-07-20Include system headers before private headers. Avoids various possibledholland
2011-07-02include sys/time.h earlier (rather than implicitly via fcntl.h) so thatmrg
2011-07-02rename a variable from "time" to "stime" (it's a string)mrg
2011-06-22apply some -Wno-error and/or -fno-strict-aliasing.mrg
2011-05-30Use consistent sign in compare, the function is only called withjoerg
2011-05-23Correctly print variables as strings, not as format string.joerg
2010-02-03Userland now builds and uses terminfo instead of termcap.roy
2010-01-17Simplify alloc() to avoid ifdef(LINT) workaround.wiz
2009-08-12sprinkle staticdholland
2009-06-29Fix two serious string-handling bugs (one exploitable, one probablydholland
2009-06-07a bit more constdholland
2009-06-07sprinkle some more constdholland
2009-06-07remove unnecessary castsdholland
2009-06-07sprintf -> snprintf, plus some use of strlcpy/strlcat where appropriatedholland
2009-06-07ANSIfy function declarations. All object file diffs inspected.dholland
2009-05-06Change getdate() to getdatestr() since the former maybe present on systemsginsbach
2009-01-18use %zu to print size_ttnn
2009-01-18fix -Wsign-compare issueslukem
2008-08-29Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a f...gmcgarry
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-01-28Make hack build with WARNS=4.dholland
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2007-01-17Update my previous commit to better match the original code, includingchuck