Changqing Li via Postfix-users:
> [snip of src/util/sys_defs.h]
> 
> #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 1)
> #define SOCKADDR_SIZE   socklen_t
> #define SOCKOPT_SIZE    socklen_t
> #else
> #define NO_SNPRINTF
> #endif
>
> For musl lib, #else branch is selected, so NO_SNPRINTF is defined,  and 
> in vbuf_print.c,  if NO_SNPRINTF is defined,

Please try the patch below.

        Wietse

diff '--exclude=man' '--exclude=html' '--exclude=README_FILES' 
'--exclude=INSTALL' --no-dereference -r -ur 
/var/tmp/postfix-3.11.2/src/util/sys_defs.h ./src/util/sys_defs.h
--- /var/tmp/postfix-3.11.2/src/util/sys_defs.h 2026-05-01 14:55:47.000000000 
-0400
+++ ./src/util/sys_defs.h       2026-05-13 10:02:10.406636873 -0400
@@ -797,8 +797,6 @@
 #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 1)
 #define SOCKADDR_SIZE  socklen_t
 #define SOCKOPT_SIZE   socklen_t
-#else
-#define NO_SNPRINTF
 #endif
 #ifndef NO_IPV6
 #define HAS_IPV6
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to