> @@ -366,8 +366,8 @@ extern void openTagFile (void) > static int replacementTruncate (const char *const name, const long size) > { > char *tempName = NULL; > - FILE *fp = tempFile ("w", &tempName); > - fclose (fp); > + MIO *mio = tempFile ("w", &tempName); > + fclose (mio);
In addition there are ifdefs around and it gets compiled only when truncate() or ftruncate() are missing on the system (Geany's config.h defines HAVE_FTRUNCATE). --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1160/files/02138f9e59cc5d57b3db617561d00bb09110b1a0..967b572240513689fc2f6f9aefa929e7d54f6bfc#r73969796