From 16e2b8d276eec85a7fc138e66f438caf6acf0929 Mon Sep 17 00:00:00 2001 From: "dmitry.zhulanov@gmail.com" <> Date: Sun, 4 Jun 2017 21:21:43 +0700 Subject: replace fopen with g_fopen Fixed bugs: - https://launchpad.net/bugs/1695629 (bzr r15700.1.7) --- src/main-cmdlinexact.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main-cmdlinexact.cpp') diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp index 4da138f0c..eca402ab3 100644 --- a/src/main-cmdlinexact.cpp +++ b/src/main-cmdlinexact.cpp @@ -29,6 +29,7 @@ #include "extension/system.h" #include "file.h" #include +#include #include "sp-root.h" #include "document-undo.h" #include "util/units.h" @@ -317,7 +318,7 @@ parseVerbsYAMLFile(gchar const *yaml_filename) { verbs_list_t verbs_list; - FILE *fh = fopen(yaml_filename, "r"); + FILE *fh = g_fopen(yaml_filename, "r"); if(fh == NULL) { printf("Failed to read from file %s\n", yaml_filename); fflush(stdout); -- cgit v1.2.3