releasing version 2.17-1

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@11092 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2005-02-18 18:44:27 +00:00
parent 3d248f5d00
commit 00d2970fb5
126 changed files with 786 additions and 778 deletions

View File

@@ -1,8 +0,0 @@
a.out
*.d
*.i
*.s
*.d.tmp
cribbage
pathnames.h
cribbage.6

View File

@@ -1,4 +1,4 @@
/* $NetBSD: instr.c,v 1.10 2003/08/07 09:37:10 agc Exp $ */
/* $NetBSD: instr.c,v 1.11 2005/02/15 12:56:20 jsm Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: instr.c,v 1.10 2003/08/07 09:37:10 agc Exp $");
__RCSID("$NetBSD: instr.c,v 1.11 2005/02/15 12:56:20 jsm Exp $");
#endif
#endif /* not lint */
@@ -85,7 +85,7 @@ instructions()
warn("dup2");
_exit(1);
}
execl("/bin/sh", "sh", "-c", path, NULL);
execl("/bin/sh", "sh", "-c", path, (char *) NULL);
warn(NULL);
_exit(1);
default:

View File

@@ -1,4 +1,4 @@
/* $NetBSD: io.c,v 1.17 2004/01/26 09:58:35 jsm Exp $ */
/* $NetBSD: io.c,v 1.18 2004/11/05 21:30:31 dsl Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: io.c,v 1.17 2004/01/26 09:58:35 jsm Exp $");
__RCSID("$NetBSD: io.c,v 1.18 2004/11/05 21:30:31 dsl Exp $");
#endif
#endif /* not lint */
@@ -353,10 +353,10 @@ number(lo, hi, prompt)
}
sum = 0;
if (!isdigit(*p))
if (!isdigit((unsigned char)*p))
sum = lo - 1;
else
while (isdigit(*p)) {
while (isdigit((unsigned char)*p)) {
sum = 10 * sum + (*p - '0');
++p;
}
@@ -424,8 +424,8 @@ endmsg()
/* All messages should start with uppercase */
mvaddch(lastline + Y_MSG_START, SCORE_X, ' ');
if (islower(Msgbuf[0]) && Msgbuf[1] != ')')
Msgbuf[0] = toupper(Msgbuf[0]);
if (islower((unsigned char)Msgbuf[0]) && Msgbuf[1] != ')')
Msgbuf[0] = toupper((unsigned char)Msgbuf[0]);
mp = Msgbuf;
len = strlen(mp);
if (len / MSG_X + Lineno >= MSG_Y) {