You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the configure.ac checks the header files needed by resolv.h check functions for res_ninit and res_ndestroy does not include them before use resolv.h
With glibc, resolv.h itself contains all declarations for the function, so it is not affected. However in all other platform which requires some other headers for using resolv.h but has res_ninit() and/or res_ndestroy function, the check would be failed.
The text was updated successfully, but these errors were encountered:
futatuki
added a commit
to futatuki/OpenDMARC
that referenced
this issue
Mar 9, 2024
I don't know how this would play on BSD (where it's primarily clang compiler) or under weird OSes that use the MUSL support, so I need to QA this a bit and make sure that this fix doesn't make things worse on one of the other platforms.
Another point of view, configure.ac uses AC_HEADER_RESOLV[1], which checks header files need to include before using resolv.h. So all the tests using resolv.h in configure should also use those include files, for consistensy.
Although the configure.ac checks the header files needed by
resolv.h
check functions forres_ninit
andres_ndestroy
does not include them before useresolv.h
This can cause some errors in configure script like issue #203 in trusteddomainproject/OpenDKIM.
With glibc, resolv.h itself contains all declarations for the function, so it is not affected. However in all other platform which requires some other headers for using resolv.h but has res_ninit() and/or res_ndestroy function, the check would be failed.
The text was updated successfully, but these errors were encountered: