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.
Description
Description
| Status | Assigned | Task | ||
|---|---|---|---|---|
| Open | • gniibe | T6634 Port GPGME to Windows 64-bit | ||
| Open | • gniibe | T7125 GPGME spawn for Windows 64-bit | ||
| Duplicate | • gniibe | T7127 GPGME deprecate/remove the helper gpgme-w32spawn program |
Event Timeline
Comment Actions
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.