Page MenuHomePhabricator

utils: Use _wfopen and _wreopen on Windows
ClosedPublic

Authored by PiRK on Nov 10 2020, 07:12.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC7fa094b10e45: utils: Use _wfopen and _wreopen on Windows
Summary

The fopen function does not support unicode filename on Windows, so use Windows specific function do deal with it

This is a backport of Core PR13866

Test Plan

ninja && ninja check

Use the build bot to run tests on windows.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable