From 5b165761e7313f76c99c32568ef9b34851b05349 Mon Sep 17 00:00:00 2001 From: abs Date: Mon, 12 Feb 2001 16:01:40 +0000 Subject: 'cvs rm' is your friend, & wiz who obviously has had more caffine than me today --- games/tscp/patches/patch-aa | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 games/tscp/patches/patch-aa (limited to 'games') 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); -- cgit v1.2.3