This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Kill regexp.h
- From: Zack Weinberg <zackw at panix dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, libc-alpha at sourceware dot org
- Date: Mon, 27 Jul 2015 11:28:40 -0400
- Subject: Re: [PATCH] Kill regexp.h
- Authentication-results: sourceware.org; auth=none
- References: <20150712195501 dot D8E5C14B9A at panix1 dot panix dot com> <55A57D59 dot 4090104 at redhat dot com> <CAKCAbMiGYx9dXsT3WF0ZQhum8757O-TWEhzzf_=mdRAO3rksXQ at mail dot gmail dot com> <55A65C27 dot 2020808 at redhat dot com> <55A66676 dot 7070500 at panix dot com> <55B309B1 dot 9000301 at redhat dot com> <55B3A035 dot 8020906 at panix dot com> <alpine dot DEB dot 2 dot 10 dot 1507271501040 dot 11312 at digraph dot polyomino dot org dot uk>
On Mon, Jul 27, 2015 at 11:07 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Sat, 25 Jul 2015, Zack Weinberg wrote:
>
>> itself as "The Single Unix Specification, Version 2". I have not been
>> able to pin down exactly what "issue 4, version 2" was, or find an
>
> See http://archive.opengroup.org/publications/archive/CDROM/ (specifically
> C434, C435, C436, C438; there are also corrigenda U038 U045 U052 U053
> available separately somewhere).
Thanks. Looking at those documents, the release history seems to be
System V Release 2 (1984) (regexp.h invented)
Issue 3 (????) (regexp.h standardized)
Issue 4, version 2 (1994) (regexp.h marked TO BE WITHDRAWN)
Issue 5 = Version 2 (1997) (no change)
Issue 6 = POSIX.1-2001 (regexp.h deleted)
probably with a bunch of intermediate editions in there, and of course
the POSIX release history only converges with the SUS release history
at -2001. I hope you can see why I was confused.
So for perfect historical accuracy the comment should read
/* The contents of this header file were standardized in the
Single Unix Specification, Issue 3. In Issue 4 (1994) the
header was marked as TO BE WITHDRAWN and new applications
were encouraged to use <regex.h> instead. Issue 6
(aka POSIX.1-2001) removed the header entirely. */
... and it would be nice to pin down a year for Issue 3 but I can't find one.
zw