From: Bruno Haible Date: Sun, 2 Nov 2008 17:02:05 +0000 (+0100) Subject: Mark 'strdup' obsolete. X-Git-Tag: v0.1~6730 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=991967044a1c38c88a7163d2a8169870416a88fc;p=gnulib.git Mark 'strdup' obsolete. --- diff --git a/ChangeLog b/ChangeLog index a8d92d2fb..42c4ba802 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ 2008-11-02 Bruno Haible + 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 + Mark 'strcspn' obsolete. * modules/strcspn (Status, Notice): New sections. diff --git a/modules/findprog b/modules/findprog index 7ed99e982..537d68710 100644 --- a/modules/findprog +++ b/modules/findprog @@ -12,6 +12,7 @@ stdbool xalloc xconcat-filename unistd +strdup configure.ac: gl_FINDPROG diff --git a/modules/getaddrinfo b/modules/getaddrinfo index 1abd4e503..e08cf578b 100644 --- a/modules/getaddrinfo +++ b/modules/getaddrinfo @@ -15,6 +15,7 @@ socklen stdbool sys_socket netdb +strdup configure.ac: gl_GETADDRINFO diff --git a/modules/localename b/modules/localename index 3c92785bd..0d9f05e2e 100644 --- a/modules/localename +++ b/modules/localename @@ -9,6 +9,7 @@ m4/intlmacosx.m4 m4/lcmessage.m4 Depends-on: +strdup configure.ac: gl_LOCALENAME diff --git a/modules/relocatable-lib b/modules/relocatable-lib index 07dd4cb1a..5f6f774e8 100644 --- a/modules/relocatable-lib +++ b/modules/relocatable-lib @@ -10,6 +10,7 @@ m4/relocatable-lib.m4 Depends-on: xalloc +strdup configure.ac: gl_RELOCATABLE_LIBRARY diff --git a/modules/relocatable-lib-lgpl b/modules/relocatable-lib-lgpl index f0e59b1eb..40fa815e5 100644 --- a/modules/relocatable-lib-lgpl +++ b/modules/relocatable-lib-lgpl @@ -9,6 +9,7 @@ lib/relocatable.c m4/relocatable-lib.m4 Depends-on: +strdup configure.ac: gl_RELOCATABLE_LIBRARY diff --git a/modules/relocatable-prog b/modules/relocatable-prog index cb1d8b1b0..62c0b31e9 100644 --- a/modules/relocatable-prog +++ b/modules/relocatable-prog @@ -22,6 +22,7 @@ xreadlink stdbool unistd memcmp +strdup configure.ac: gl_RELOCATABLE([$gl_source_base]) diff --git a/modules/strdup b/modules/strdup index 8a2eaf665..8da96a230 100644 --- a/modules/strdup +++ b/modules/strdup @@ -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 diff --git a/modules/trim b/modules/trim index 59b2c1806..af0986930 100644 --- a/modules/trim +++ b/modules/trim @@ -10,6 +10,7 @@ xalloc mbchar mbiter memmove +strdup configure.ac: gl_FUNC_MBRTOWC diff --git a/modules/unictype/gen-ctype b/modules/unictype/gen-ctype index 359b3d060..b13c2042d 100644 --- a/modules/unictype/gen-ctype +++ b/modules/unictype/gen-ctype @@ -8,6 +8,7 @@ lib/unictype/3levelbit.h Depends-on: memcmp +strdup configure.ac: diff --git a/modules/unilbrk/gen-lbrk b/modules/unilbrk/gen-lbrk index 41a60af9d..caa4086de 100644 --- a/modules/unilbrk/gen-lbrk +++ b/modules/unilbrk/gen-lbrk @@ -7,6 +7,7 @@ lib/unictype/3level.h Depends-on: memcmp +strdup configure.ac: