Home GnuPG

w32: Enable "w32_error" for assuan_sock_get_flag.

Description

w32: Enable "w32_error" for assuan_sock_get_flag.

* src/assuan-defs.h (struct assuan_context_s): Have w32_error field.
(_assuan_sock_wsa2errno): Supply CTX argument.
* src/assuan-socket.c (_assuan_sock_wsa2errno): Put ERR to the field
in CTX argument.
(_assuan_sock_get_flag): Support "w32_error" string.
(_assuan_sock_accept, _assuan_sock_bind): Follow the change.
* src/assuan-uds.c (uds_reader, uds_writer): Likewise.
* src/system-w32.c (__assuan_close, __assuan_socket): Likewise.
(__assuan_connect): Likewise.
  • GnuPG-bug-id: T7456
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mon, Dec 16, 6:44 AM
Parents
rAcc6c29735d59: w32: Fix errno for assuan_sock_bind failure.
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Tasks
T7456: libassuan: Windows: assuan_sock_bind error