aboutsummaryrefslogtreecommitdiffstats
path: root/biology/clustalw/files/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'biology/clustalw/files/patch-aj')
-rw-r--r--biology/clustalw/files/patch-aj13
1 files changed, 7 insertions, 6 deletions
diff --git a/biology/clustalw/files/patch-aj b/biology/clustalw/files/patch-aj
index d5881bdb2c03..4e7cb3c21c94 100644
--- a/biology/clustalw/files/patch-aj
+++ b/biology/clustalw/files/patch-aj
@@ -1,6 +1,6 @@
---- util.c-orig Thu Mar 21 10:15:59 2002
-+++ util.c Thu Mar 21 10:17:11 2002
-@@ -171,10 +171,10 @@
+--- util.c.orig Thu Feb 13 16:19:35 2003
++++ util.c Thu Feb 13 16:21:40 2003
+@@ -171,10 +171,11 @@
return str;
}
@@ -10,10 +10,11 @@
fprintf(stdout,"%s: ",instr);
- gets(outstr);
+ fgets(outstr, len, stdin);
++ outstr[strlen(outstr)-1] = '\0';
}
double getreal(char *instr,double minx,double maxx,double def)
-@@ -185,7 +185,7 @@
+@@ -185,7 +186,7 @@
while(TRUE) {
fprintf(stdout,"%s (%.1f-%.1f) [%.1f]: ",instr,minx,maxx,def);
@@ -22,7 +23,7 @@
status=sscanf(line,"%f",&ret);
if(status == EOF) return def;
if(ret>maxx) {
-@@ -210,7 +210,7 @@
+@@ -210,7 +211,7 @@
while(TRUE) {
fprintf(stdout,"%s (%d..%d) [%d]: ",
instr,(pint)minx,(pint)maxx,(pint)def);
@@ -31,7 +32,7 @@
status=sscanf(line,"%d",&ret);
if(status == EOF) return def;
if(ret>maxx) {
-@@ -230,7 +230,7 @@
+@@ -230,7 +231,7 @@
{
char line[MAXLINE];