diff options
Diffstat (limited to 'biology/clustalw/files/patch-ac')
-rw-r--r-- | biology/clustalw/files/patch-ac | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/biology/clustalw/files/patch-ac b/biology/clustalw/files/patch-ac index 9ac14ac11427..fc4431f3b68f 100644 --- a/biology/clustalw/files/patch-ac +++ b/biology/clustalw/files/patch-ac @@ -9,66 +9,3 @@ lf=(sint)strlen(fname); deb=path1; -@@ -2121,7 +2121,7 @@ - strcpy(local_prompt,"\n\nEnter new name to avoid overwriting "); - strcat(local_prompt," [%s]: "); - fprintf(stdout,local_prompt,file_name); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != EOS) strcpy(file_name,temp); - } - } -@@ -2129,7 +2129,7 @@ - strcpy(local_prompt,prompt); - strcat(local_prompt," [%s]: "); - fprintf(stdout,local_prompt,file_name); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != EOS) strcpy(file_name,temp); - } - -@@ -2335,7 +2335,7 @@ - if (usemenu) - fprintf(stdout,"\nUse the existing GUIDE TREE file, %s (y/n) ? [y]: ", - tree_name); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != 'n' && *temp != 'N') { - strcpy(phylip_name,tree_name); - use_tree = TRUE; -@@ -2567,7 +2567,7 @@ - - fprintf(stdout,"\nEnter a name for the guide tree file [%s]: ", - phylip_name); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != EOS) - strcpy(phylip_name,temp); - } -@@ -2676,7 +2676,7 @@ - #endif - fprintf(stdout,"\nUse the existing GUIDE TREE file for Profile 1, %s (y/n) ? [y]: ", - tree_name); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != 'n' && *temp != 'N') { - strcpy(p1_tree_name,tree_name); - use_tree1 = TRUE; -@@ -2702,7 +2702,7 @@ - #endif - fprintf(stdout,"\nUse the existing GUIDE TREE file for Profile 2, %s (y/n) ? [y]: ", - tree_name); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != 'n' && *temp != 'N') { - strcpy(p2_tree_name,tree_name); - use_tree2 = TRUE; -@@ -3730,7 +3730,7 @@ - if(usemenu) { - fprintf(stdout,"\nEnter a name for the parameter output file [%s]: ", - parname); -- gets(temp); -+ fgets(temp,sizeof(temp),stdin); - if(*temp != EOS) - strcpy(parname,temp); - } |