coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] docs: mention POSIX 2008


From: Eric Blake
Subject: [PATCH] docs: mention POSIX 2008
Date: Fri, 1 Apr 2011 15:39:13 -0600

* doc/coreutils.texi (Standards conformance): Give value of
_POSIX2_VERSION matching the _POSIX_C_SOURCE of POSIX 2008.
---

Any objections to this patch?  While I don't know of any place
in coreutils that specifically distinguishes between 2001 and 2008,
we might as well document the value (I find that 'info coreutils
standards' is a handy reference for valid values to give to
_POSIX_C_SOURCE when writing strictly compliant programs).

 doc/coreutils.texi |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index ea35afe..f603cd2 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -1455,10 +1455,11 @@ Standards conformance
 that is standard for your system.  To cause them to conform to a
 different version of @acronym{POSIX}, define the @env{_POSIX2_VERSION}
 environment variable to a value of the form @var{yyyymm} specifying
-the year and month the standard was adopted.  Two values are currently
+the year and month the standard was adopted.  Three values are currently
 supported for @env{_POSIX2_VERSION}: @samp{199209} stands for
-@acronym{POSIX} 1003.2-1992, and @samp{200112} stands for @acronym{POSIX}
-1003.1-2001.  For example, if you have a newer system but are running software
+@acronym{POSIX} 1003.2-1992, @samp{200112} stands for @acronym{POSIX}
+1003.1-2001, and @samp{200809} stands for @acronym{POSIX} 1003.1-2008.
+For example, if you have a newer system but are running software
 that assumes an older version of @acronym{POSIX} and uses @samp{sort +1}
 or @samp{tail +10}, you can work around any compatibility problems by setting
 @samp{_POSIX2_VERSION=199209} in your environment.
-- 
1.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]