summaryrefslogtreecommitdiffstats
path: root/gomoku
Commit message (Collapse)AuthorAgeFilesLines
* Fix the out-of-memory behavior so the message doesn't disappear underdholland2016-06-121-4/+9
| | | endwin(). Related to PR 3126.
* move extern decls to .h filesdholland2014-03-222-6/+6
|
* fix unused variable warningschristos2013-10-191-4/+3
|
* Pass -Wstrict-overflow... mostly.dholland2012-10-132-9/+20
|
* Fix conflicting variable definitionsmatt2012-02-181-3/+3
|
* avoid non-literal format strings.christos2011-08-161-7/+4
|
* remove #ifdef SVR4dholland2010-03-292-12/+4
|
* Some improvements to the new UI.dholland2010-03-293-19/+45
|
* reorg for clarity and exposition.dholland2010-03-291-30/+37
|
* Better user interface. From OpenBSD, written by Paul Janzen quite adholland2010-03-294-61/+258
| | | long time ago. A few minor adjustments by yours truly.
* Spell "versus" right.dholland2010-03-291-10/+10
|
* Allow saved game filenames up to PATH_MAX. From OpenBSD.dholland2010-03-291-6/+8
|
* fix quote markup, spotted in openbsd diffsdholland2010-03-291-5/+14
|
* Fix typo. From OpenBSD.dholland2010-03-291-2/+2
|
* Don't exit(0) on failure. Use errx() instead of fprintf.dholland2010-03-291-4/+4
|
* When using -lcurses, you also need -lterminfo.he2010-02-061-3/+3
| | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
* sprinkle staticdholland2009-08-126-67/+80
|
* Rename internal getline() function to get_line() so it doesroy2009-07-133-14/+14
| | | conflict with the soon to be added getline(3) libc function.
* Rectify non-compiling code that appears when DEBUG is defined.dholland2009-06-042-25/+29
|
* Remove global scratch string buffer. Don't zoom off the end while readingdholland2009-06-042-11/+10
| | | user input, either.
* Remove remaining references to sprintf.dholland2009-06-042-36/+47
|
* Make a couple of the logging/printing functions printf-alikes. This removesdholland2009-06-043-82/+78
| | | most of the calls to sprintf.
* attribute noreturn -> __deaddholland2009-06-041-4/+4
|
* sprintf -> snprintfdholland2009-06-041-3/+3
|
* Increase spending on vowels. No object file diffs.dholland2009-06-045-69/+69
|
* ANSIfy function declarations.xdholland2009-06-046-106/+53
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+7
| | | next curses call
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* build with WARNS=4dholland2008-01-281-6/+6
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-152-6/+6
|
* avoid a pointer sign difference.mrg2006-05-111-3/+3
|
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-2/+2
| | | Sort sections if necessary. Use more/better markup.
* Fixed wrong use of the <ctype.h> functions by adding an explicit conversionrillig2005-04-191-3/+3
| | | to unsigned char. Approved by christos.
* Add (unsigned char) cast to ctype functionsdsl2004-11-051-3/+3
|
* Remove uses of __P.jsm2004-01-272-43/+43
|
* Include <limits.h> instead of <machine/limits.h>.jsm2004-01-271-3/+3
|
* Include <sys/endian.h>.jsm2004-01-271-1/+2
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-078-54/+22
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-2/+2
|
* Ispell.wiz2002-09-261-3/+3
|
* New sentences begin on new lines.wiz2002-09-261-13/+17
| | | Patch from Richard Elz, slightly improved by yours truly.
* fix nested externschristos2001-02-051-4/+5
|
* More include additions for exit, abs, strcmp, etc.matt2000-07-031-2/+3
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Fix doubled 'the'.soren2000-03-131-3/+3
|
* Fix -Wsign-compare warnings.jsm1999-09-181-4/+4
|
* Fix uses of names of library functions for other purposes.jsm1999-09-132-9/+9
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-2/+5
| | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes.
* Check for failure of malloc() and calloc() at various places in the games.jsm1999-09-091-2/+8
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-6/+6
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).