use g_fopen()
git-svn-id: svn://localhost/ardour2/branches/3.0@11667 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7149ca74e6
commit
d0b90d2961
@ -203,10 +203,10 @@ vstfx_infofile_for_read (char* dllpath)
|
|||||||
if (sys_info) {
|
if (sys_info) {
|
||||||
if (own_statbuf.st_mtime <= sys_statbuf.st_mtime) {
|
if (own_statbuf.st_mtime <= sys_statbuf.st_mtime) {
|
||||||
/* system info file is newer, use it */
|
/* system info file is newer, use it */
|
||||||
return fopen (sys_info, "r");
|
return g_fopen (sys_info, "rb");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return fopen (own_info, "r");
|
return g_fopen (own_info, "rb");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user