summaryrefslogtreecommitdiffstats
path: root/games/sail
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt3-7/+7
2016-09-11Callers of time(3) should #include <time.h>.tb1-1/+2
2016-09-09These games have been broken for the better part of a year, ever sincetb1-2/+9
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre1-2/+4
2016-01-13there's a resource leak here. missing a fclose(3) to kill the stream.gsoares1-1/+2
2016-01-08ANSIfy sail(6) plus some cleanupmestre21-232/+145
2016-01-07Some basic code maintenance in games/tb1-2/+2
2015-12-31Include only needed header files per each source filemestre18-49/+94
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre1-3/+3
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb1-5/+3
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allderaadt1-2/+1
2015-10-24Cast ctype functions' argument to unsigned char.mmcc2-5/+5
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc2-5/+5
2015-09-27Delete obsolete lint commentsguenther2-5/+2
2015-09-27Make -Wformat=2 happier with a few foo(str) -> foo("%s", str) fixesguenther1-4/+4
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok millert krwderaadt2-4/+4
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,schwarze1-3/+3
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,guenther4-11/+9
2014-03-11lint is dead (long live the lint!)guenther3-10/+7
2014-02-11clean up AUTHORS section, no content change:schwarze1-16/+13
2013-08-29replace srandomdev()+random() with the arc4random*() familynaddy2-4/+3
2013-01-17macro fixes;jmc1-3/+2
2012-12-05Remove excessive sys/cdefs.h inclusionderaadt1-2/+1
2011-11-06union wait is dead, ancient history; stop using itguenther1-3/+3
2011-06-20Do not compare a `char' variable to EOF, which does not fit if `char' defaultsmiod1-5/+7
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,schwarze1-4/+4
2010-03-26dispense with some wacky escape sequences;jmc1-11/+11
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt23-214/+23
2009-07-09promote correct style for error checkingeric1-3/+3
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'ssobrado1-3/+3
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-04-02tidy up synopsis and sort options; from Igor Sobradojmc1-7/+6
2006-11-02Check fgets failure and clarify character checks.ray1-4/+4
2006-03-27assorted fixes mostly from coverity via netbsd via jasper adriaanse via techtedu2-6/+6
2005-03-12escape `.' at eol to avoid double spacing issue;jmc1-2/+2
2004-12-17fix an off-by-one and a case of snprintf() misuse.moritz1-13/+14
2004-12-06typo from pjanzen@jmc1-2/+2
2004-04-27typo and remove some Ns hacks no longer needed;jmc1-4/+4
2003-09-05add some spacing after displays;jmc1-8/+11
2003-09-02escape punctuation;jmc1-4/+4
2003-07-10add missing includesdavid2-4/+6
2003-07-06convert some strncpy->strlcpyavsm2-11/+9
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert29-197/+81
2003-05-30section reorder;jmc1-17/+17
2003-04-25string cleanup; ok millertderaadt1-3/+4
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenderaadt9-62/+79
2002-12-09fix va_end; openbsd@davidkrause.comderaadt1-3/+3
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert1-3/+3
2002-06-11no more err(3) newlines in games; ok pjanzen@jsyn1-3/+3
2002-05-31crmode -> cbreakpjanzen1-3/+3