From: Simon Josefsson Date: Thu, 18 Sep 2008 13:46:30 +0000 (+0200) Subject: getaddrinfo: Don't depend on strdup. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca0a3c52fb45689e0ba8d1063272193bf2bd1db;p=pspp getaddrinfo: Don't depend on strdup. --- diff --git a/ChangeLog b/ChangeLog index 96a122d472..370dd9c1ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-18 Simon Josefsson + + * 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 * lib/vasnprintf.c (decimal_point_char): Define also if diff --git a/modules/getaddrinfo b/modules/getaddrinfo index b9964655ea..84a9a967b1 100644 --- a/modules/getaddrinfo +++ b/modules/getaddrinfo @@ -14,7 +14,6 @@ inet_ntop snprintf socklen stdbool -strdup sys_socket configure.ac: