[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mark strdup as obsolete
From: |
Bruno Haible |
Subject: |
Re: mark strdup as obsolete |
Date: |
Sun, 2 Nov 2008 18:01:51 +0100 |
User-agent: |
KMail/1.5.4 |
This marks the 'strdup' module as obsolete.
2008-11-02 Bruno Haible <address@hidden>
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.
--- modules/strdup.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/strdup 2008-11-02 15:30:43.000000000 +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
--- modules/findprog.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/findprog 2008-11-02 17:56:08.000000000 +0100
@@ -12,6 +12,7 @@
xalloc
xconcat-filename
unistd
+strdup
configure.ac:
gl_FINDPROG
--- modules/getaddrinfo.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/getaddrinfo 2008-11-02 17:56:23.000000000 +0100
@@ -15,6 +15,7 @@
stdbool
sys_socket
netdb
+strdup
configure.ac:
gl_GETADDRINFO
--- modules/localename.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/localename 2008-11-02 17:56:41.000000000 +0100
@@ -9,6 +9,7 @@
m4/lcmessage.m4
Depends-on:
+strdup
configure.ac:
gl_LOCALENAME
--- modules/relocatable-lib.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/relocatable-lib 2008-11-02 17:56:46.000000000 +0100
@@ -10,6 +10,7 @@
Depends-on:
xalloc
+strdup
configure.ac:
gl_RELOCATABLE_LIBRARY
--- modules/relocatable-lib-lgpl.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/relocatable-lib-lgpl 2008-11-02 17:56:50.000000000 +0100
@@ -9,6 +9,7 @@
m4/relocatable-lib.m4
Depends-on:
+strdup
configure.ac:
gl_RELOCATABLE_LIBRARY
--- modules/relocatable-prog.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/relocatable-prog 2008-11-02 17:56:57.000000000 +0100
@@ -22,6 +22,7 @@
stdbool
unistd
memcmp
+strdup
configure.ac:
gl_RELOCATABLE([$gl_source_base])
--- modules/trim.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/trim 2008-11-02 17:57:10.000000000 +0100
@@ -10,6 +10,7 @@
mbchar
mbiter
memmove
+strdup
configure.ac:
gl_FUNC_MBRTOWC
--- modules/unictype/gen-ctype.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/unictype/gen-ctype 2008-11-02 17:57:26.000000000 +0100
@@ -8,6 +8,7 @@
Depends-on:
memcmp
+strdup
configure.ac:
--- modules/unilbrk/gen-lbrk.orig 2008-11-02 18:01:12.000000000 +0100
+++ modules/unilbrk/gen-lbrk 2008-11-02 17:56:36.000000000 +0100
@@ -7,6 +7,7 @@
Depends-on:
memcmp
+strdup
configure.ac:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: mark strdup as obsolete,
Bruno Haible <=