changeset 14253:53a5188cc58f

doc: off_t is not available in eglibc 2.11.2 stdio.h. * doc/posix-headers/stdio.texi (stdio.h): Mention that off_t isn't declared by eglibc 2.11.2. * lib/stdio.in.h: Likewise.
author Simon Josefsson <simon@josefsson.org>
date Mon, 31 Jan 2011 16:00:08 +0100
parents 33320dc3763a
children baab734b5b4b dfb3316e7c70
files ChangeLog doc/posix-headers/stdio.texi lib/stdio.in.h
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-31  Simon Josefsson  <simon@josefsson.org>
+
+	doc: off_t is not available in eglibc 2.11.2 stdio.h.
+	* doc/posix-headers/stdio.texi (stdio.h): Mention that off_t isn't
+	declared by eglibc 2.11.2.
+	* lib/stdio.in.h: Likewise.
+
 2011-01-31  Eric Blake  <eblake@redhat.com>
 
 	ignore-value: add missing test dependency
--- a/doc/posix-headers/stdio.texi
+++ b/doc/posix-headers/stdio.texi
@@ -9,7 +9,7 @@
 @itemize
 @item
 The type @code{off_t} is missing on some platforms:
-glibc 2.8 and others.
+glibc 2.8, eglibc 2.11.2 and others.
 @item
 The type @code{ssize_t} is missing on some platforms:
 glibc 2.8, MacOS X 10.5, Solaris 10, and others.
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -52,7 +52,8 @@
 
 #include <stddef.h>
 
-/* Get off_t and ssize_t.  Needed on many systems, including glibc 2.8.  */
+/* Get off_t and ssize_t.  Needed on many systems, including glibc 2.8
+   and eglibc 2.11.2.  */
 #include <sys/types.h>
 
 #ifndef __attribute__