summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorRuss Allbery <rra@debian.org>2016-07-02 13:38:40 -0700
committerRuss Allbery <rra@debian.org>2016-07-02 13:38:40 -0700
commita92a560637b87da633f44af0049f55e419a0dd05 (patch)
treece8d2ad89e6769d97e8662f95867823eea9b6e84 /file.c
parent6fd8c2586f4de4f7f8f70dfc19f0ef51f44ea4c7 (diff)
Imported Upstream version 1.05.002
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/file.c b/file.c
index fa1522e..81da8a1 100644
--- a/file.c
+++ b/file.c
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: file.c,v 1.31 2014/03/09 23:34:17 plm Exp $
+ * $Id: file.c,v 1.32 2015/07/31 23:40:23 mdpetch Exp $
*/
#include "config.h"
@@ -23,6 +23,7 @@
#include <glib/gstdio.h>
#include "file.h"
#include <stdlib.h>
+#include "glib-ext.h"
ExportFormat export_format[] = {
{EXPORT_SGF, ".sgf", N_("GNU Backgammon File"), "sgf", {TRUE, TRUE, TRUE}
@@ -112,7 +113,7 @@ OpenFileHelper(const char *filename)
return NULL; /* File not found */
fh = g_new(FileHelper, 1);
- fh->fp = g_fopen(filename, "r");
+ fh->fp = gnubg_g_fopen(filename, "r");
if (!fh->fp) { /* Failed to open file */
g_free(fh);
return NULL;