changeset 10755:b25692ed074a

Mark 'strdup' obsolete.
author Bruno Haible <bruno@clisp.org>
date Sun, 02 Nov 2008 18:02:05 +0100
parents 4d23e378728a
children 474d6e9933ac
files ChangeLog modules/findprog modules/getaddrinfo modules/localename modules/relocatable-lib modules/relocatable-lib-lgpl modules/relocatable-prog modules/strdup modules/trim modules/unictype/gen-ctype modules/unilbrk/gen-lbrk
diffstat 11 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 02 17:50:31 2008 +0100
+++ b/ChangeLog	Sun Nov 02 18:02:05 2008 +0100
@@ -1,3 +1,17 @@
+2008-11-02  Bruno Haible  <bruno@clisp.org>
+
+	Mark 'strdup' obsolete.
+	* modules/strdup (Status, Notice): New sections.
+	* modules/findprog (Depends-on): Add strdup.
+	* modules/getaddrinfo (Depends-on): Likewise.
+	* modules/localename (Depends-on): Likewise.
+	* modules/relocatable-lib (Depends-on): Likewise.
+	* modules/relocatable-lib-lgpl (Depends-on): Likewise.
+	* modules/relocatable-prog (Depends-on): Likewise.
+	* modules/trim (Depends-on): Likewise.
+	* modules/unictype/gen-ctype (Depends-on): Likewise.
+	* modules/unilbrk/gen-lbrk (Depends-on): Likewise.
+
 2008-11-02  Bruno Haible  <bruno@clisp.org>
 
 	Mark 'strcspn' obsolete.
--- a/modules/findprog	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/findprog	Sun Nov 02 18:02:05 2008 +0100
@@ -12,6 +12,7 @@
 xalloc
 xconcat-filename
 unistd
+strdup
 
 configure.ac:
 gl_FINDPROG
--- a/modules/getaddrinfo	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/getaddrinfo	Sun Nov 02 18:02:05 2008 +0100
@@ -15,6 +15,7 @@
 stdbool
 sys_socket
 netdb
+strdup
 
 configure.ac:
 gl_GETADDRINFO
--- a/modules/localename	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/localename	Sun Nov 02 18:02:05 2008 +0100
@@ -9,6 +9,7 @@
 m4/lcmessage.m4
 
 Depends-on:
+strdup
 
 configure.ac:
 gl_LOCALENAME
--- a/modules/relocatable-lib	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/relocatable-lib	Sun Nov 02 18:02:05 2008 +0100
@@ -10,6 +10,7 @@
 
 Depends-on:
 xalloc
+strdup
 
 configure.ac:
 gl_RELOCATABLE_LIBRARY
--- a/modules/relocatable-lib-lgpl	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/relocatable-lib-lgpl	Sun Nov 02 18:02:05 2008 +0100
@@ -9,6 +9,7 @@
 m4/relocatable-lib.m4
 
 Depends-on:
+strdup
 
 configure.ac:
 gl_RELOCATABLE_LIBRARY
--- a/modules/relocatable-prog	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/relocatable-prog	Sun Nov 02 18:02:05 2008 +0100
@@ -22,6 +22,7 @@
 stdbool
 unistd
 memcmp
+strdup
 
 configure.ac:
 gl_RELOCATABLE([$gl_source_base])
--- a/modules/strdup	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/strdup	Sun Nov 02 18:02:05 2008 +0100
@@ -1,6 +1,12 @@
 Description:
 strdup() function: duplicate a string.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. But you may want to use the strdup-posix module.
+
 Files:
 lib/strdup.c
 m4/strdup.m4
--- a/modules/trim	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/trim	Sun Nov 02 18:02:05 2008 +0100
@@ -10,6 +10,7 @@
 mbchar
 mbiter
 memmove
+strdup
 
 configure.ac:
 gl_FUNC_MBRTOWC
--- a/modules/unictype/gen-ctype	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/unictype/gen-ctype	Sun Nov 02 18:02:05 2008 +0100
@@ -8,6 +8,7 @@
 
 Depends-on:
 memcmp
+strdup
 
 configure.ac:
 
--- a/modules/unilbrk/gen-lbrk	Sun Nov 02 17:50:31 2008 +0100
+++ b/modules/unilbrk/gen-lbrk	Sun Nov 02 18:02:05 2008 +0100
@@ -7,6 +7,7 @@
 
 Depends-on:
 memcmp
+strdup
 
 configure.ac: