[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] strdup: undeprecate, IRIX 6.5 needs it
From: |
Eric Blake |
Subject: |
[PATCH] strdup: undeprecate, IRIX 6.5 needs it |
Date: |
Mon, 21 May 2012 15:34:10 -0600 |
Reported by Simon Josefsson.
* modules/strdup (Status): No longer obsolete.
* doc/posix-functions/strdup.texi (strdup): Document this.
Signed-off-by: Eric Blake <address@hidden>
---
>> 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 <address@hidden>
+
+ 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 <address@hidden>
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
- Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/21
- Re: Is IRIX 6.5 obsolete?, Paul Eggert, 2012/05/21
- [PATCH] strdup: undeprecate, IRIX 6.5 needs it,
Eric Blake <=
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/21
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Eric Blake, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Eric Blake, 2012/05/22