]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct comments about the history of <regexp.h>
authorZack Weinberg <zackw@panix.com>
Thu, 6 Aug 2015 02:35:28 +0000 (22:35 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 6 Aug 2015 02:36:43 +0000 (22:36 -0400)
In the "Kill regexp.h" thread, Joseph dug up more accurate information
about exactly which editions of the Single Unix Standard included and
deprecated this header.

ChangeLog
NEWS
misc/regexp.h

index cb9124e4e6c57bf4a272355d1313b5b96c64db1c..82331d586068b392c3fc0aabef4a05dc68ad9e46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-05  Zack Weinberg  <zackw@panix.com>
+
+       * misc/regexp.h: Update comments.
+
 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
 
        * version.h (RELEASE): Set to "stable".
diff --git a/NEWS b/NEWS
index 4c31de7b2d8d1b07ba0ad4fcabea9b1b0196e309..43dcfdb0bbd7debf31c4563f8ce3e905d871972a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -84,7 +84,7 @@ Version 2.22
   release.  Use of this header will trigger a deprecation warning.
   Application developers should update their code to use <regex.h> instead.
 
-  This header was formerly part of SUSv2, but was deprecated in 1997 and
+  This header was formerly part of SUS, but was deprecated in 1994 and
   removed from the standard in 2001.  Also, the glibc implementation
   leaks memory.  See BZ#18681 for more details.
 \f
index 346098945dcb73f8e31a361d8096edfa80277018..42394f78cf68ac56885300d18de219fb22da55ad 100644 (file)
 #ifndef _REGEXP_H
 #define _REGEXP_H      1
 
-/* The contents of this header file were standardized in the
-   Single Unix Specification, Version 2 (1997) but marked as
-   LEGACY; new applications were already being encouraged to
-   use <regex.h> instead.  POSIX.1-2001 removed this header.
+/* The contents of this header file were originally standardized in
+   the Single Unix Specification, Issue 3 (1992).  In Issue 4 (1994)
+   the header was marked as TO BE WITHDRAWN, and new applications
+   were encouraged to use <regex.h> instead.  It was officially
+   withdrawn from the standard in Issue 6 (aka POSIX.1-2001).
 
    This header is provided only for backward compatibility.
    It will be removed in the next release of the GNU C Library.