[geany/geany] 0eca25: Fix incorrect use of MIO

Jiří Techet git-noreply at xxxxx
Sat Sep 10 07:26:30 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Mon, 08 Aug 2016 22:34:29 UTC
Commit:      0eca258e58693ebdf0670b74e6934acc6ed2a7b9
             https://github.com/geany/geany/commit/0eca258e58693ebdf0670b74e6934acc6ed2a7b9

Log Message:
-----------
Fix incorrect use of MIO


Modified Paths:
--------------
    ctags/main/entry.c

Modified: ctags/main/entry.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -365,8 +365,8 @@ extern void copyFile (const char *const from, const char *const to, const long s
 static int replacementTruncate (const char *const name, const long size)
 {
 	char *tempName = NULL;
-	MIO *mio = tempFile ("w", &tempName);
-	fclose (mio);
+	FILE *fp = tempFile ("w", &tempName);
+	fclose (fp);
 	copyFile (name, tempName, size);
 	copyFile (tempName, name, WHOLE_FILE);
 	remove (tempName);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list