CVS Repository/ src/ games/ backgammon/ common_source/ save.c


OpenBSD release(s):
1.14 (79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59),  1.12 (58),  1.11 (57),  1.10 (56 55 54 53 52 51 50 49 48 47),  1.9 (46 45 44 43 42 41 40),  1.8 (39 38 37 36 35 34),  1.7 (33 32 31 30),  1.6 (29),  1.5 (28 27 26),  1.4 (25 24),  1.3 (23),  1.2 (22 21 20), 
Tags:
1.1.1.1 (netbsd_1_1), 
revision 1.14/ (Download) - annotate - Mon, 30 Nov 2015 08:19:25 UTC by tb
OpenBSD release(s): 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59
Changes since 1.13: +4 -7 (diff)
Pledge for backgammon and teachgammon.

Both are straightforward "stdio rpath tty" programs; teachgammon
exec's backgammon at the end, so give it "exec" in addition.

While there, ANSIfy

revision 1.13/ (Download) - annotate - Wed, 11 Nov 2015 01:12:10 UTC by deraadt
Changes since 1.12: +7 -3 (diff)
creat() -> open equiv; from Frederic Nowak

revision 1.12/ (Download) - annotate - Fri, 26 Jun 2015 19:18:03 UTC by otto
OpenBSD release(s): 58
Changes since 1.11: +3 -1 (diff)
/home/otto/ok

revision 1.11/ (Download) - annotate - Sun, 16 Nov 2014 04:49:48 UTC by guenther
OpenBSD release(s): 57
Changes since 1.10: +4 -4 (diff)
Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,
    and <sys/ttydefaults.h>
Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX
Pull in <limits.h> where needed
Prefer sizeof(var) over MAXFOO or FOO_MAX

ok deraadt@

revision 1.10/ (Download) - annotate - Tue, 27 Oct 2009 23:59:23 UTC by deraadt
OpenBSD release(s): 56 55 54 53 52 51 50 49 48 47
Changes since 1.9: +1 -9 (diff)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

revision 1.9/ (Download) - annotate - Mon, 27 Mar 2006 00:10:14 UTC by tedu
OpenBSD release(s): 46 45 44 43 42 41 40
Changes since 1.8: +2 -3 (diff)
assorted fixes mostly from coverity via netbsd via jasper adriaanse via tech

revision 1.8/ (Download) - annotate - Tue, 03 Jun 2003 03:01:38 UTC by millert
OpenBSD release(s): 39 38 37 36 35 34
Changes since 1.7: +3 -7 (diff)
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

revision 1.7/ (Download) - annotate - Sat, 23 Jun 2001 23:50:04 UTC by pjanzen
OpenBSD release(s): 33 32 31 30
Changes since 1.6: +30 -43 (diff)
termios -> curses

revision 1.6/ (Download) - annotate - Fri, 30 Mar 2001 04:41:34 UTC by pjanzen
OpenBSD release(s): 29
Changes since 1.5: +8 -4 (diff)
filename length fix from ianm@cit.uws.edu.au; also, don't overflow the buffer.

revision 1.5/ (Download) - annotate - Sat, 31 Jul 1999 21:57:41 UTC by pjanzen
OpenBSD release(s): 28 27 26
Changes since 1.4: +14 -14 (diff)
use const where appropriate (jsm28@cam.ac.uk).  Also some very minor tidying.

revision 1.4/ (Download) - annotate - Sat, 29 Aug 1998 23:19:09 UTC by pjanzen
OpenBSD release(s): 25 24
Changes since 1.3: +5 -6 (diff)
use names rather than numbers in signals, errors, etc; NetBSD PR6058; jsm28@cam.ac.uk

revision 1.3/ (Download) - annotate - Thu, 19 Mar 1998 11:13:25 UTC by pjanzen
OpenBSD release(s): 23
Changes since 1.2: +98 -99 (diff)
NetBSD changes and further improvements and corrections

revision 1.2/ (Download) - annotate - Wed, 14 Feb 1996 07:06:42 UTC by etheisen
OpenBSD release(s): 22 21 20
Changes since 1.1: +1 -1 (diff)
Command line arguments were not being handled correctly.  Modified for
proper funtionality and for compliance with manpage.

revision 1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:48:40 UTC by deraadt
Branch point for: 1.1.1.1
Initial revision

revision 1.1.1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:48:40 UTC by deraadt
Tags: netbsd_1_1
Changes since 1.1: None
initial import of NetBSD tree