mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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. GnuPG-bug-id: 5098
This commit is contained in:
parent
b47c355b18
commit
4dcef0e178
8 changed files with 79 additions and 26 deletions
|
@ -74,6 +74,7 @@ int gnupg_setenv (const char *name, const char *value, int overwrite);
|
|||
int gnupg_unsetenv (const char *name);
|
||||
char *gnupg_getcwd (void);
|
||||
gpg_err_code_t gnupg_access (const char *name, int mode);
|
||||
int gnupg_open (const char *name, int flags, unsigned int mode);
|
||||
gpg_error_t gnupg_chuid (const char *user, int silent);
|
||||
char *gnupg_get_socket_name (int fd);
|
||||
int gnupg_fd_valid (int fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue