[Github-comments] [geany/geany] Ctags sync, part 1 (#1160)

Jiří Techet notifications at xxxxx
Mon Aug 8 22:43:55 UTC 2016


> @@ -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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160808/fb05632e/attachment.html>


More information about the Github-comments mailing list