summaryrefslogtreecommitdiff
path: root/games/tscp
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-02-12 16:01:40 +0000
committerabs <abs@pkgsrc.org>2001-02-12 16:01:40 +0000
commit5b165761e7313f76c99c32568ef9b34851b05349 (patch)
tree645a652c39374884d796f425c8820a5d5e1e7aff /games/tscp
parentb2cc573f46a8f5b193ce3d12d7bde0b9d3e4b342 (diff)
downloadpkgsrc-5b165761e7313f76c99c32568ef9b34851b05349.tar.gz
'cvs rm' is your friend, & wiz who obviously has had more caffine than me today
Diffstat (limited to 'games/tscp')
-rw-r--r--games/tscp/patches/patch-aa33
1 files changed, 0 insertions, 33 deletions
diff --git a/games/tscp/patches/patch-aa b/games/tscp/patches/patch-aa
deleted file mode 100644
index 28f1952733d..00000000000
--- a/games/tscp/patches/patch-aa
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2001/02/04 11:32:35 abs Exp $
-
---- main.c.orig Thu Nov 30 19:28:18 2000
-+++ main.c
-@@ -51,7 +51,7 @@
- init();
- gen();
- computer_side = EMPTY;
-- max_time = 1000000;
-+ max_time = 10000000;
- max_depth = 4;
- for (;;) {
- if (side == computer_side) { /* computer's turn */
-@@ -73,7 +73,8 @@
-
- /* get user input */
- printf("tscp> ");
-- scanf("%s", s);
-+ if (scanf("%s", s) == EOF)
-+ return 0;
- if (!strcmp(s, "on")) {
- computer_side = side;
- continue;
-@@ -279,7 +280,8 @@
- print_result();
- continue;
- }
-- fgets(line, 256, stdin);
-+ if (!fgets(line, 256, stdin))
-+ return;
- if (line[0] == '\n')
- continue;
- sscanf(line, "%s", command);