summaryrefslogtreecommitdiffstats
path: root/gomoku/main.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-3/+3
|
* Get all the games compiling for iOSCameron Katri2021-02-221-0/+2
|
* Fix the out-of-memory behavior so the message doesn't disappear underdholland2016-06-121-4/+9
| | | endwin(). Related to PR 3126.
* avoid non-literal format strings.christos2011-08-161-7/+4
|
* remove #ifdef SVR4dholland2010-03-291-6/+2
|
* Some improvements to the new UI.dholland2010-03-291-15/+20
|
* Better user interface. From OpenBSD, written by Paul Janzen quite adholland2010-03-291-23/+38
| | | 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
|
* sprinkle staticdholland2009-08-121-11/+14
|
* Rename internal getline() function to get_line() so it doesroy2009-07-131-9/+9
| | | conflict with the soon to be added getline(3) libc function.
* Rectify non-compiling code that appears when DEBUG is defined.dholland2009-06-041-17/+21
|
* Remove global scratch string buffer. Don't zoom off the end while readingdholland2009-06-041-9/+9
| | | user input, either.
* Make a couple of the logging/printing functions printf-alikes. This removesdholland2009-06-041-42/+51
| | | most of the calls to sprintf.
* ANSIfy function declarations.xdholland2009-06-041-18/+10
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Remove uses of __P.jsm2004-01-271-3/+3
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Fix uses of names of library functions for other purposes.jsm1999-09-131-7/+7
|
* 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.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-3/+3
| | | | | | | | | | | | 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).
* Add use of `const' where appropriate to the games.jsm1999-09-081-8/+8
| | | | | | | | | 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). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* change includes to fix compiler warningperry1998-02-031-2/+3
|
* WARNSifylukem1997-10-101-13/+25
|
* fix NetBSD RCS ID headerscgd1997-01-031-3/+3
|
* add gomoku game, from 4.4BSD-Lite2tls1996-12-281-0/+6
|
* Import of 4.4BSD-Lite2 sourcetls1996-12-281-0/+532