Home GnuPG
Diffusion GnuPG 86e52e3c3384

Replace most calls to open by a new wrapper.

Description

Replace most calls to open by a new wrapper.

* common/sysutils.c (any8bitchar) [W32]: New.
(gnupg_open): New.  Replace most calls to open by this.
* common/iobuf.c (any8bitchar) [W32]: New.
(direct_open) [W32]: Use CreateFileW if needed.

This is yet another step for full Unicode support on Windows.

(cherry picked from commit 4dcef0e17836e8725c31a3b76f2bf7144345c808)

Details