On 10 September 2011 01:27, Bruno Haible <br...@clisp.org> wrote:
> Reuben Thomas wrote:
>> The new note in crypt.texi specifically mentions glibc 2.11; I noticed
>> the problem in 2.13.
>
> Then it's worth changing the 3 documentation files. Care to send a patch?
> (I did not want to discourage you from sending patches, last time, when I
> committed a modified version of a patch of yours.)

Don't worry, I'm not discouraged! Patch attached.

-- 
http://rrt.sc3d.org
From 0a11df48d7c209d94c8bea83d43d1b1d098238a9 Mon Sep 17 00:00:00 2001
From: Reuben Thomas <r...@sc3d.org>
Date: Sun, 11 Sep 2011 23:36:41 +0100
Subject: [PATCH] Expand range of versions of glibc for which _GNU_SOURCE is needed to get crypt.

---
 ChangeLog                        |    8 ++++++++
 doc/posix-functions/crypt.texi   |    2 +-
 doc/posix-functions/encrypt.texi |    2 +-
 doc/posix-functions/setkey.texi  |    2 +-
 4 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0e794ad..0067b19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-09-11  Reuben Thomas  <r...@sc3d.org>
+
+	Doc about crypt functions.
+	* doc/posix-functions/crypt.texi: Expand range of glibc versions
+	needing for _GNU_SOURCE to get crypt.
+	* doc/posix-functions/encrypt.texi: Likewise.
+	* doc/posix-functions/setkey.texi: Likewise.
+
 2011-09-11  Bruno Haible  <br...@clisp.org>
 
 	doc: Update regarding MSVC 9.
diff --git a/doc/posix-functions/crypt.texi b/doc/posix-functions/crypt.texi
index cd21d37..658b449 100644
--- a/doc/posix-functions/crypt.texi
+++ b/doc/posix-functions/crypt.texi
@@ -18,5 +18,5 @@ FreeBSD 6.0, NetBSD 5.0, Cygwin, mingw, MSVC 9.
 @item
 This function is not declared in @code{<unistd.h>}
 (without @code{-D_GNU_SOURCE}) on some platforms:
-glibc 2.11.
+glibc (at least 2.11–2.13).
 @end itemize
diff --git a/doc/posix-functions/encrypt.texi b/doc/posix-functions/encrypt.texi
index 9f94f93..25a9d15 100644
--- a/doc/posix-functions/encrypt.texi
+++ b/doc/posix-functions/encrypt.texi
@@ -18,5 +18,5 @@ NetBSD 5.0, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS.
 @item
 This function is not declared in @code{<unistd.h>}
 (without @code{-D_GNU_SOURCE}) on some platforms:
-glibc 2.11.
+glibc (at least 2.11–2.13).
 @end itemize
diff --git a/doc/posix-functions/setkey.texi b/doc/posix-functions/setkey.texi
index a3cfb99..6510908 100644
--- a/doc/posix-functions/setkey.texi
+++ b/doc/posix-functions/setkey.texi
@@ -18,5 +18,5 @@ NetBSD 5.0, Minix 3.1.8, Cygwin, mingw, MSVC 9, BeOS.
 @item
 This function is not declared in @code{<stdlib.h>}
 (without @code{-D_GNU_SOURCE}) on some platforms:
-glibc 2.11.
+glibc (at least 2.11–2.13).
 @end itemize
-- 
1.7.4.1

Reply via email to