Page MenuHome GnuPG - static

GPGME spawn for Windows 64-bit
Open, NormalPublic

Description

So far, the member fd in struct spawn_fd_items_s has type int which should be assuan_fd_t to fully support Windows 64-bit for the value other than 0, 1, and 2.

Event Timeline

gniibe triaged this task as Normal priority.May 17 2024, 8:25 AM
gniibe created this task.
gniibe mentioned this in Unknown Object (Maniphest Task).Mon, May 11, 7:22 AM
gniibe mentioned this in Unknown Object (Maniphest Task).Mon, May 18, 8:18 AM

Internally in GPGME, fd is int for the index of internal file descriptor table, on Windows.
Internal file descriptor table is used and assuan-support.c has support to translate those internal representation to external HANDLE.

It is complicated, but works. So, the "Description" of this ticket is partially irrelevant.
It would be good and simpler when/if we can migrate to assuan_fd_t, but it requires major clean up.
I'm afraid if it is worth a try.