Getaddrinfo does not assume the ENOMEM behaviour of strdup, and being maintainer for that module, I removed the strdup dependency.
/Simon >From 0ca0a3c52fb45689e0ba8d1063272193bf2bd1db Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[EMAIL PROTECTED]> Date: Thu, 18 Sep 2008 15:46:30 +0200 Subject: [PATCH] getaddrinfo: Don't depend on strdup. --- ChangeLog | 6 ++++++ modules/getaddrinfo | 1 - 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 96a122d..370dd9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-18 Simon Josefsson <[EMAIL PROTECTED]> + + * modules/getaddrinfo (Depends-on): Remove strdup, this module + assumes strdup exists and does not depend on strdup to return + ENOMEM on out of memory conditions. + 2008-09-18 Bruno Haible <[EMAIL PROTECTED]> * lib/vasnprintf.c (decimal_point_char): Define also if diff --git a/modules/getaddrinfo b/modules/getaddrinfo index b996465..84a9a96 100644 --- a/modules/getaddrinfo +++ b/modules/getaddrinfo @@ -14,7 +14,6 @@ inet_ntop snprintf socklen stdbool -strdup sys_socket configure.ac: -- 1.5.6.5