Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Fri, 06 May 2016 20:00:14 UTC Commit: 6e89ee5ebef888e5d07407d33ffb4d455831e752 https://github.com/geany/geany/commit/6e89ee5ebef888e5d07407d33ffb4d455831e7...
Log Message: ----------- Check for fclose() success
Modified Paths: -------------- tagmanager/src/tm_workspace.c
Modified: tagmanager/src/tm_workspace.c 8 lines changed, 2 insertions(+), 6 deletions(-) =================================================================== @@ -415,9 +415,7 @@ static gboolean write_includes_file(const gchar *outf, GList *includes_files) node = g_list_next(node); }
- fclose(fp); - - return TRUE; + return fclose(fp) == 0; }
@@ -450,9 +448,7 @@ static gboolean combine_include_files(const gchar *outf, GList *file_list) node = g_list_next (node); }
- fclose(fp); - - return TRUE; + return fclose(fp) == 0; }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).