summaryrefslogtreecommitdiff
path: root/games/sail
AgeCommit message (Collapse)Author
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
ok guenther@
2015-09-27Delete obsolete lint commentsPhilip Guenther
ok beck@
2015-09-27Make -Wformat=2 happier with a few foo(str) -> foo("%s", str) fixesPhilip Guenther
ok beck@
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok ↵Theo de Raadt
millert krw
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,Ingo Schwarze
escape it when it appears on a macro line.
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@
2014-03-11lint is dead (long live the lint!)Philip Guenther
Declare play() and pl_main() as __dead, to solve the original problem
2014-02-11clean up AUTHORS section, no content change:Ingo Schwarze
* add missing .An * do not use .nf and .fi in mdoc(7) code * avoid bare TAB outside literal context * remove pointless .Ss from Jan Stary <hans at stare dot cz>, tweaked by me
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
tweaks and ok millert@, ok deraadt@
2013-01-17macro fixes;Jason McIntyre
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2011-11-06union wait is dead, ancient history; stop using itPhilip Guenthe
ok deraadt@
2011-06-20Do not compare a `char' variable to EOF, which does not fit if `char' defaultsMiod Vallat
to unsigned (e.g. arm, powerpc); ok guenther@ matthew@ looks good deraadt@
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,Ingo Schwarze
who asked me to commit because he is just running out of the door.
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-07-09promote correct style for error checkingEric Faurot
ok tedu@ deraadt@ krw@
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-02tidy up synopsis and sort options; from Igor SobradoJason McIntyre
2006-11-02Check fgets failure and clarify character checks.Ray Lai
OK moritz@.
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techTed Unangst
2005-03-12escape `.' at eol to avoid double spacing issue;Jason McIntyre
2004-12-17fix an off-by-one and a case of snprintf() misuse.Moritz Jodeit
ok pjanzen@, henning@
2004-12-06typo from pjanzen@Jason McIntyre
2004-04-27typo and remove some Ns hacks no longer needed;Jason McIntyre
2003-09-05add some spacing after displays;Jason McIntyre
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-07-06convert some strncpy->strlcpyAnil Madhavapeddy
pjanzen@ ok
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30section reorder;Jason McIntyre
2003-04-25string cleanup; ok millertTheo de Raadt
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
already, but he may have later changes to make still.
2002-12-09fix va_end; openbsd@davidkrause.comTheo de Raadt
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-06-11no more err(3) newlines in games; ok pjanzen@Jason Peel
2002-05-31crmode -> cbreakPaul Janzen
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.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-16abs() is defined by ANSI C -- don't use a macro for itTodd C. Miller
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.
2002-01-07To disable a SIGCHLD signal handler use SIG_DFL, *not* SIG_IGNTodd C. Miller
which now has a different meaning.
2001-11-17fixes from mpech@prosoft.org.lvPaul Janzen
2001-09-19mdocify and clean upPaul Janzen
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-03-09resize a buffer for long usernames; ianm@cit.uws.edu.auPaul Janzen