mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
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.
This commit is contained in:
committed by
Mike Frysinger
parent
bb1d31d06e
commit
a03ba36305
@@ -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>
|
2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
[BZ #18635]
|
[BZ #18635]
|
||||||
|
2
NEWS
2
NEWS
@@ -89,7 +89,7 @@ Version 2.22
|
|||||||
release. Use of this header will trigger a deprecation warning.
|
release. Use of this header will trigger a deprecation warning.
|
||||||
Application developers should update their code to use <regex.h> instead.
|
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
|
removed from the standard in 2001. Also, the glibc implementation
|
||||||
leaks memory. See BZ#18681 for more details.
|
leaks memory. See BZ#18681 for more details.
|
||||||
|
|
||||||
|
@@ -19,10 +19,11 @@
|
|||||||
#ifndef _REGEXP_H
|
#ifndef _REGEXP_H
|
||||||
#define _REGEXP_H 1
|
#define _REGEXP_H 1
|
||||||
|
|
||||||
/* The contents of this header file were standardized in the
|
/* The contents of this header file were originally standardized in
|
||||||
Single Unix Specification, Version 2 (1997) but marked as
|
the Single Unix Specification, Issue 3 (1992). In Issue 4 (1994)
|
||||||
LEGACY; new applications were already being encouraged to
|
the header was marked as TO BE WITHDRAWN, and new applications
|
||||||
use <regex.h> instead. POSIX.1-2001 removed this header.
|
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.
|
This header is provided only for backward compatibility.
|
||||||
It will be removed in the next release of the GNU C Library.
|
It will be removed in the next release of the GNU C Library.
|
||||||
|
Reference in New Issue
Block a user