diff options
author | Zack Weinberg <zackw@panix.com> | 2015-08-05 22:35:28 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-05 22:38:22 -0400 |
commit | a03ba3630548d74920884dd12442d9937ad47072 (patch) | |
tree | e6605f7255afdc4b73449fc6680e9e2ed67f651e | |
parent | bb1d31d06e400a42da4435e8649bb7a1451ef682 (diff) | |
download | glibc-a03ba3630548d74920884dd12442d9937ad47072.tar.gz glibc-a03ba3630548d74920884dd12442d9937ad47072.tar.xz glibc-a03ba3630548d74920884dd12442d9937ad47072.zip |
Correct comments about the history of <regexp.h>
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.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | misc/regexp.h | 9 |
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 8c4a5787c1..a13ddd04ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-08-05 Zack Weinberg <zackw@panix.com> + + * misc/regexp.h: Update comments. + 2015-08-05 Andreas Schwab <schwab@linux-m68k.org> [BZ #18635] diff --git a/NEWS b/NEWS index a47687ea25..1a00463042 100644 --- a/NEWS +++ b/NEWS @@ -89,7 +89,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. diff --git a/misc/regexp.h b/misc/regexp.h index 346098945d..42394f78cf 100644 --- a/misc/regexp.h +++ b/misc/regexp.h @@ -19,10 +19,11 @@ #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. |