Fixed an instance where dbFgets() was used in the "def write"
routine; that is incorrect, and it should have been fgets(). When dbFgets() is recast to a zlib version, then its use in "def write" causes magic to crash.
This commit is contained in:
parent
075262b2ef
commit
3534b79994
|
|
@ -2876,7 +2876,7 @@ DefWriteCell(def, outName, allSpecial, units)
|
||||||
freeMagic(filename2);
|
freeMagic(filename2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (dbFgets(line, sizeof line, f2) != NULL) fprintf(f, "%s", line);
|
while (fgets(line, sizeof line, f2) != NULL) fprintf(f, "%s", line);
|
||||||
fclose(f2);
|
fclose(f2);
|
||||||
|
|
||||||
/* Blockages */
|
/* Blockages */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue