You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/lagan/files/lagan-2.0-conflicting-getli...

25 lines
711 B

Author: Andreas Tille <tille@debian.org>
LastChanged: Fri, 15 Nov 2013 10:31:20 +0100
Description: Prevent conflicting getline by simply renaming it
--- a/src/anchors.c
+++ b/src/anchors.c
@@ -225,7 +225,7 @@ char* rolltonum(char* str) {
return &str[i];
}
-int getline(FILE* infile, hll* tt) {
+int anchors_getline(FILE* infile, hll* tt) {
char temp[1024];
char* help;
int z, h;
@@ -248,7 +248,7 @@ hll* parseCHAOS(FILE* infile, int* totnu
*totnum = 0;
while(!feof(infile)) {
tt = (hll*) malloc(sizeof(hll));
- while (!feof(infile) && !getline(infile, tt))
+ while (!feof(infile) && !anchors_getline(infile, tt))
;
if (feof(infile)) break;
if (gapfreechunks) {