fs: consistently use fsbridge for fopen()

This commit is contained in:
fanquake
2021-12-24 16:44:57 +08:00
parent 486261dfcb
commit 5e8975e269
2 changed files with 3 additions and 2 deletions

View File

@@ -923,7 +923,7 @@ BOOST_AUTO_TEST_CASE(script_build)
}
#ifdef UPDATE_JSON_TESTS
FILE* file = fopen("script_tests.json.gen", "w");
FILE* file = fsbridge::fopen("script_tests.json.gen", "w");
fputs(strGen.c_str(), file);
fclose(file);
#endif