This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[2.22 PATCH] Correct comments about the history of <regexp.h>.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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 only affects comments and NEWS; please consider for 2.22.

zw

	* misc/regexp.h: Correct commentary about the editions of the
	Single Unix Standard that included this header.
	* NEWS: Likewise.
- ---
 NEWS          | 2 +-
 misc/regexp.h | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index 4c31de7..43dcfdb 100644
- --- 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.
 
diff --git a/misc/regexp.h b/misc/regexp.h
index 3460989..42394f7 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.
- -- 
2.5.0

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVwidlAAoJEJH8wytnaapkZ6IQALc0fIj29w3IehibL/rSKXig
rjIYpxyo5+qapCTNgp2WhrPkmpyWUUWp2LNv/nJySOV0Vny/W0M7mQZhFsMmXPA5
VLEivx/u5Nnl2yhFQvfubwbRUtmB15SYRmHME8t+vOxSiYRujLLQDqoyu1hBg41K
+eCKSrCUdyIwH/43i7+Y0thlhH+dKndr9CisaBC5wATvmxdqacrCmgy1wlhGmVCd
KEx3ENJtsVF7srWvH2p3diMyEUP5ghRZ9VniEGEHssz/rburKgky104tmHN6GGK/
Wd57ry7SNVLUuwLJWqMLhCEUc91iHo0UcnmLl8Lxi0bNzVEEUhtYG42TJKysN+f0
+EcStnOj/8RIdnXaFFYsoqyyL9D4FQ6KTfGlhaNo5ok+vVKJPTlYYakkDbRotMj3
uEDZkkq9f4Lm7On4HqipzCCsDkvCaA/Lx9zxdJpii+P8mN9cMzL6WBVPQ4l9IaSS
w2QgHsC08qeTdvl5vdPYRKqawiqkgH7nX8PjVFA1ayIkL5UU3ZCwzftMxXdUrnCi
K9RDlyBf6sF0x+4kA9Jky0fOQr1wQXDcJkEaTQC00HWgS/FIyAAfv0PsGDSNz0Go
6baRxznWU7xIDdsEayHABvBx6MK5HtQn6DwS+RtakrWO5MMmCpdab8nydosHJKly
gIRpB+K9oscNHHge5ees
=OQRL
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]