aboutsummaryrefslogtreecommitdiff
path: root/biology/babel/files
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1997-12-24 07:24:22 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1997-12-24 07:24:22 +0000
commit742d411eeda4caca998d1f751fe4eaccbaabd05f (patch)
tree08316c70883ff5d95f6a9cb180083a3b9722e03e /biology/babel/files
parentdab61dff141cf6f3c73d292a0b3d51f7c627db07 (diff)
downloadports-742d411eeda4caca998d1f751fe4eaccbaabd05f.tar.gz
ports-742d411eeda4caca998d1f751fe4eaccbaabd05f.zip
Notes
Diffstat (limited to 'biology/babel/files')
-rw-r--r--biology/babel/files/patch-ab10
1 files changed, 6 insertions, 4 deletions
diff --git a/biology/babel/files/patch-ab b/biology/babel/files/patch-ab
index 4770277b67e8..a8017dc3e65b 100644
--- a/biology/babel/files/patch-ab
+++ b/biology/babel/files/patch-ab
@@ -1,5 +1,5 @@
---- menus.c.orig Thu Dec 4 20:20:28 1997
-+++ menus.c Thu Dec 4 20:21:46 1997
+--- menus.c.orig Tue Jan 21 23:52:36 1997
++++ menus.c Mon Dec 22 14:29:37 1997
@@ -63,9 +63,9 @@
}
}
@@ -26,12 +26,14 @@
if (strlen(OutputKeywords) < 1)
strcpy(OutputKeywords,"KEYWORDS GO HERE");
}
-@@ -167,7 +167,7 @@
+@@ -167,8 +167,8 @@
while (done == FALSE)
{
printf("Choice : ");
- gets(choice_string);
+- for (i = 0; i < (int) strlen(choice_string); i++)
+ fgets(choice_string, 99, stdin);
- for (i = 0; i < (int) strlen(choice_string); i++)
++ for (i = 0; i < ((int) strlen(choice_string) - 1) ; i++)
{
if (!isdigit(choice_string[i]))
+ choice = 0;