HomePhabricator

utils: Use _wfopen and _wreopen on Windows

Description

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.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8343

Details

Provenance
Chun Kuan Lee <ken2812221@gmail.com>Authored on Jul 26 2018, 13:39
PiRKCommitted on Nov 10 2020, 09:48
PiRKPushed on Nov 10 2020, 09:48
Reviewer
Restricted Project
Differential Revision
D8343: utils: Use _wfopen and _wreopen on Windows
Parents
rABC4c7efa93f503: [doc] align items in contrib init
Branches
Unknown
Tags
Unknown