Reported by Simon Josefsson. * modules/strdup (Status): No longer obsolete. * doc/posix-functions/strdup.texi (strdup): Document this.
Signed-off-by: Eric Blake <ebl...@redhat.com> --- >> Would this be a reason to un-deprecate the 'strdup' module? >That's easy, right? and would solve the problem? >So let's go with that. Done. I kept the difference between strdup (guarantee the function but not errno on out-of-memory) and strdup-posix (also guarantee errno), as there are programs that can be lighter-weight with only the former. ChangeLog | 6 ++++++ doc/posix-functions/strdup.texi | 3 ++- modules/strdup | 6 ------ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18cb1a8..4b8802a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-05-21 Eric Blake <ebl...@redhat.com> + + strdup: undeprecate, IRIX 6.5 needs it + * modules/strdup (Status): No longer obsolete. + * doc/posix-functions/strdup.texi (strdup): Document this. + 2012-05-21 Simon Josefsson <si...@josefsson.org> select: Fix build error on IRIX 6.5. diff --git a/doc/posix-functions/strdup.texi b/doc/posix-functions/strdup.texi index f654a3c..f4ce7b4 100644 --- a/doc/posix-functions/strdup.texi +++ b/doc/posix-functions/strdup.texi @@ -9,7 +9,8 @@ strdup Portability problems fixed by either Gnulib module @code{strdup} or @code{strdup-posix}: @itemize @item -This function is missing on some old platforms. +This function is missing on some platforms: +IRIX 6.5. @item This function has no prototype in @code{<string.h>} on some old platforms. @end itemize diff --git a/modules/strdup b/modules/strdup index 619ec01..fe2cd7f 100644 --- a/modules/strdup +++ b/modules/strdup @@ -1,12 +1,6 @@ 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 -- 1.7.7.6