summaryrefslogtreecommitdiff
path: root/games/hunt
AgeCommit message (Collapse)Author
2008-10-02zap trailing whitespace;Jason McIntyre
2008-10-02spelling; Dieter RauschenbergerTheo de Raadt
2008-10-02Remove useless setsid() and setpgrp() calls and add -b option toTodd C. Miller
run huntd in the background like a true daemon. OK deraadt@
2008-06-20Fix erroneous variadics. Ok millert@Anders Magnusson
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
ok jmc@
2007-11-06fix format stringCharles Longeau
ok ray@ gilles@
2007-09-04Some more simple malloc(n * m) -> calloc(n, m) conversions.Hans-Joerg Hoexer
ok deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tidy up synopis and usage(); sort options; from Igor SobradoJason McIntyre
2007-04-02sort options; from Igor SobradoJason McIntyre
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2005-04-21vsnprintf careful handling of -1; ok beckTheo de Raadt
2004-04-04.br workaround no longer necessary;Jason McIntyre
2004-01-16ISO C police: log and expl are reserved for the C library.Marc Espie
expl -> expl_string log -> logit
2003-12-28Fix two obvious thinkos in va_end() usage.Marc Espie
Caught by gcc3.
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-07unknwown->unknown, spotted by miod@. now that we have an otto@, theo.cJolan Luff
has competition.
2003-06-17Give this header file, which was split off by d@, the same (BSD) license asPaul Janzen
the functions it's prototyping and the variables it's declaring extern. d@ has no objection. This is the last of the hunt source to be clearly licensed.
2003-06-17d@ has asked me to put in an explicit "Public domain" on header files for codePaul Janzen
he's written here. The code itself is clearly licensed already.
2003-06-11New license from the official hunt release atPaul Janzen
ftp://ftp.cgl.ucsf.edu/pub/hunt.shar.Z -- it has been approved by all three authors (Conrad Huang, Ken Arnold, and Greg Couch).
2003-06-02Instead of saying "The Berkeley software License Agreement specifiesTodd C. Miller
the terms and conditions for redistribution." include the actual UCB license. deraadt@ OK
2003-05-20Fix broken .Xr and uncomment it.Paul Janzen
2003-03-11double words and spelling fixesDavid Krause
ok pjanzen@
2003-03-06broken .Xr's;Jason McIntyre
typos, rather than dead references ok deraadt@
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
good enough for games but we should at least use a decent seed. pjanzen@ OK
2002-11-10SEE ALSO reordering; pjanzen ok.Federico G. Schwindt
2002-07-26Theo pointed out a vsnprintf() whose return value was being usedPaul Janzen
inappropriately.
2002-05-31No dm -> no need to revoke setegid.Paul Janzen
2002-05-23The troll strikes.. The troll strikes.. The dungeon master ↵Theo de Raadt
dies.distrib/sets/lists
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-17fixes from mpech@prosoft.org.lvPaul Janzen
2001-09-19isplayer -> is_player gets out of <ctype.h> namespace; jsm28@cam.ac.ukPaul Janzen
2001-08-18FormattingPaul Janzen
2001-06-25sync usage message with reality, alphabetize option order; ok pjanzenPeter Valchev
2001-06-06reorder sections, minor tidying; mpech@prosoft.org.lvPaul Janzen
2001-06-04my licence now permits modification. plus some tiny style cleanupDavid Leonard
2001-02-13Quiet alpha warnings, principally with correct includesPaul Janzen
2000-07-03A little more select() reinitialization.Paul Janzen
2000-06-30re-initialize timeout before each invocation of select()Paul Janzen
2000-02-10stdcDavid Leonard
2000-01-03.Sh "SEE ALSO" -> .Sh SEE ALSOPaul Janzen
1999-12-12sync with answer.c. reviewed by pjanzen@David Leonard
1999-12-12document -D. remove stuff about editing etc/services. accurately describe ↵David Leonard
broadcast behaviour. Va variables. add FILES section. reviewed by pjanzen@
1999-12-12User netdb to get well known port.David Leonard
Remove unused 3rd arg to main(). Revoke any setgid privs (unnecessary?) Add -D for command-line configuration options. Properly handle new, spawning connections. Fix that evil repeated-quit problem in two places. Fix a bug where a server would quit only if it were questioned for stats. Allow port sharing. Clean up havechar(). Don't allow write() to block. reviewed by pjanzen@
1999-12-12better error msg. hook to parse command line options. reviewed by pjanzen@David Leonard
1999-12-12Use socklen_tDavid Leonard
Cope with fragmented reads in the initial cilent connect a lot better/simpler. Check the team name. Caller must free allocated 'spawn' structures. reviewed by pjanzen@
1999-12-12Catch some bad draw characters (like NUL).David Leonard
Use display_beep() instead of write(,"\7",) Report read errors from stdin. reviewed by pjanzen@