[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strdup
From: |
Simon Josefsson |
Subject: |
Re: strdup |
Date: |
Thu, 18 Sep 2008 15:46:44 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
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 <address@hidden>
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 <address@hidden>
+
+ * 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 <address@hidden>
* 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
- strdup, Simon Josefsson, 2008/09/18
- Re: strdup,
Simon Josefsson <=