From d0b90d296179f573c2f55633ad29afc8192af9d8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 13 Mar 2012 20:14:01 +0000 Subject: [PATCH] use g_fopen() git-svn-id: svn://localhost/ardour2/branches/3.0@11667 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/linux_vst_info_file.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/linux_vst_info_file.cc b/libs/ardour/linux_vst_info_file.cc index 753c84a33e..4372d1ada5 100644 --- a/libs/ardour/linux_vst_info_file.cc +++ b/libs/ardour/linux_vst_info_file.cc @@ -203,10 +203,10 @@ vstfx_infofile_for_read (char* dllpath) if (sys_info) { if (own_statbuf.st_mtime <= sys_statbuf.st_mtime) { /* system info file is newer, use it */ - return fopen (sys_info, "r"); + return g_fopen (sys_info, "rb"); } } else { - return fopen (own_info, "r"); + return g_fopen (own_info, "rb"); } }