Page MenuHome GnuPG

Fix compilation of dirmngr with mingw.org's MinGW
Open, NormalPublic

Description

The attached patches fix two groups compilation errors when building dirmngr with mingw.org's MinGW:

  • missing errno.h symbols (I wonder why the facilities of libgpg-error aren't used here?)
  • use of npth_read, npth_write, and FD_ISSET when file descriptors are actually sockets

Revisions and Commits

Event Timeline

The original plan was to source copy dns.c from upstream and thus we tried to avoid any changes. Unfortunately we never achieved to push things upstream and thus our own changes got it. Eventually we will cleanup the code and use our own framework.

werner triaged this task as Normal priority.Mar 22 2022, 11:43 AM
werner edited projects, added toolchain, Windows, Feature Request, patch; removed Bug Report.
gniibe added a subscriber: gniibe.

Last part is applied. Let me consider how to solve, for other parts.

Pushed the changes for http.c.