History log of /netbsd-src/games/backgammon/teachgammon/teach.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 9a69f12d 22-Aug-2024 rillig <rillig@NetBSD.org>

backgammon: fix lint warnings


# fbffadb9 03-Feb-2019 mrg <mrg@NetBSD.org>

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily


# 880491ca 13-Sep-2013 joerg <joerg@NetBSD.org>

GC descr and helpm.


# bc604cfe 13-Oct-2012 dholland <dholland@NetBSD.org>

Remove ifdefs for V7 (as opposed to older) unix.


# 4105daf3 13-Oct-2012 dholland <dholland@NetBSD.org>

Pass the move info around instead of using it as a global.


# 5f0f7c9f 22-Mar-2010 mrg <mrg@NetBSD.org>

rename text() to wrtext(), aligning it with most other output routines,
and avoiding a compile error on powerpc64.

XXX: this tries to make a ".text" symbol, which already exists...


# 9795f61a 12-Aug-2009 dholland <dholland@NetBSD.org>

sprinkle static


# 2fe2731d 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.


# 8b0f9554 15-Dec-2007 perry <perry@NetBSD.org>

convert __attribute__s to applicable cdefs.h macros


# fcb317ee 01-Jul-2005 jmc <jmc@NetBSD.org>

KNF and WARNS=3 fixes


# b91a81ab 15-Feb-2005 jsm <jsm@NetBSD.org>

Cast last argument of execl to (char *).

Reviewed by <hubertf>.


# 10b61a7c 08-Feb-2004 jsm <jsm@NetBSD.org>

Mark unused parameters, nonreturning functions and format functions in
the few cases not already marked.


# e5aeb4ea 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.


# 14dbdf55 06-Apr-2001 wiz <wiz@NetBSD.org>

Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.


# d249c86e 05-Feb-2001 christos <christos@NetBSD.org>

remove redundant decl


# f9eca697 08-May-2000 mycroft <mycroft@NetBSD.org>

Use setgid(), not setregid().


# 679f4a54 14-Aug-1999 tron <tron@NetBSD.org>

Adapt to change of "termcap.h".


# 3521abbb 19-Jul-1999 hubertf <hubertf@NetBSD.org>

As in previously sent patches: backgammon(6) does not need setgid
games privileges from dm, so should revoke them on startup.

Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>


# 92932dfc 10-Feb-1999 hubertf <hubertf@NetBSD.org>

The patch below makes the game backgammon(6) use `const' where
appropriate. It also removes some obsolete, unused code to check the
number of users on the system (obsoleted by dm); removes a prototy

The patch below makes the game backgammon(6) use `const' where
appropriate. It also removes some obsolete, unused code to check the
number of users on the system (obsoleted by dm); removes a prototype
for an unused function that was removed earlier; and removes a control
character from one message that was I think intended to clear the
screen on some particular terminal (though I can't find the comment to
that effect in any of the BSD source trees I have handy) but no longer
serves any useful purpose.

From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>.

Also contains two more patches, one in teachgammon/tutor.h (by Joseph)
and one in common_source/fancy.c (by me).

show more ...


# ad506eb7 15-Sep-1998 frueauf <frueauf@NetBSD.org>

Fix args processing of backgammon and teachgammon, closes pr 5345 by
David Brownlee.


# 767fe0a0 29-Aug-1998 hubertf <hubertf@NetBSD.org>

Use symbolic names for signals(!), open(2)-constants, ...
Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>


# 16641b76 10-Oct-1997 lukem <lukem@NetBSD.org>

KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)


# eab5a765 29-Apr-1995 mycroft <mycroft@NetBSD.org>

Use POSIX tty semantics.


# 101657d1 21-Mar-1995 cgd <cgd@NetBSD.org>

clean up import


# 8542364e 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


12