This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix grp.h endgrent, getgrent namespace (bug 18528)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 12 Jun 2015 22:48:01 +0000
- Subject: Re: Fix grp.h endgrent, getgrent namespace (bug 18528)
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1506122056240 dot 17561 at digraph dot polyomino dot org dot uk> <20150612222002 dot DEEC02C3BCC at topped-with-meat dot com>
On Fri, 12 Jun 2015, Roland McGrath wrote:
> That looks fine, but I think it would be nice if grp.h got a comment
> explaining how the visibility of these declarations has changed in the
> standards and in glibc.
Apart from a limited period where there was a bug in POSIX and that bug
was reflected in glibc, the visibility *hasn't* changed; the group of
three declarations was always meant to go together under the same
conditions. The details of past bugs seem like a distraction for normal
readers of the header.
--
Joseph S. Myers
joseph@codesourcery.com