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
d4529937fc
|
|
@ -2876,7 +2876,7 @@ DefWriteCell(def, outName, allSpecial, units)
|
|||
freeMagic(filename2);
|
||||
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);
|
||||
|
||||
/* Blockages */
|
||||
|
|
|
|||
Loading…
Reference in New Issue