summaryrefslogtreecommitdiff
path: root/games/sail
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
2016-09-09These games have been broken for the better part of a year, ever sinceTheo Buehler
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre
2016-01-13there's a resource leak here. missing a fclose(3) to kill the stream.Gleydson Soares
2016-01-08ANSIfy sail(6) plus some cleanupmestre
2016-01-07Some basic code maintenance in games/tb
2015-12-31Include only needed header files per each source filemestre
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allTheo de Raadt
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc
2015-09-27Delete obsolete lint commentsPhilip Guenther
2015-09-27Make -Wformat=2 happier with a few foo(str) -> foo("%s", str) fixesPhilip Guenther
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok miller...Theo de Raadt
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,Ingo Schwarze
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2014-03-11lint is dead (long live the lint!)Philip Guenther
2014-02-11clean up AUTHORS section, no content change:Ingo Schwarze
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
2013-01-17macro fixes;Jason McIntyre
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2011-11-06union wait is dead, ancient history; stop using itPhilip Guenthe
2011-06-20Do not compare a `char' variable to EOF, which does not fit if `char' defaultsMiod Vallat
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,Ingo Schwarze
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-07-09promote correct style for error checkingEric Faurot
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
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
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
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
2003-07-10add missing includesDavid Krause
2003-07-06convert some strncpy->strlcpyAnil Madhavapeddy
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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
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
2002-06-11no more err(3) newlines in games; ok pjanzen@Jason Peel
2002-05-31crmode -> cbreakPaul Janzen