This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14912] Rename non-installed bits/*.h headers
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 04 Sep 2015 16:22:15 +0000
- Subject: [Bug libc/14912] Rename non-installed bits/*.h headers
- Auto-submitted: auto-generated
- References: <bug-14912-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14912
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 81503d1e4449fdb334ad343f4ddc05891c6b4190 (commit)
from 0f4341fbec937b26b34e0ee80ab903825c0c76d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=81503d1e4449fdb334ad343f4ddc05891c6b4190
commit 81503d1e4449fdb334ad343f4ddc05891c6b4190
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Sep 4 16:21:14 2015 +0000
Rename bits/stdio-lock.h to stdio-lock.h (bug 14912).
It was noted in
<https://sourceware.org/ml/libc-alpha/2012-09/msg00305.html> that the
bits/*.h naming scheme should only be used for installed headers.
This patch renames bits/stdio-lock.h to plain stdio-lock.h to follow
that convention.
Tested for x86_64 (testsuite, and that installed stripped shared
libraries are unchanged by the patch).
[BZ #14912]
* bits/stdio-lock.h: Move to ...
* sysdeps/generic/stdio-lock.h: ...here.
(_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
* sysdeps/nptl/bits/stdio-lock.h: Move to ...
* sysdeps/nptl/stdio-lock.h: ...here.
(_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
* include/libio.h: Include <stdio-lock.h> instead of
<bits/stdio-lock.h>.
* sysdeps/nptl/fork.c: Likewise.
* sysdeps/pthread/flockfile.c: Likewise.
* sysdeps/pthread/ftrylockfile.c: Likewise.
* sysdeps/pthread/funlockfile.c: Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 14 ++++++++++++++
include/libio.h | 2 +-
{bits => sysdeps/generic}/stdio-lock.h | 6 +++---
sysdeps/nptl/fork.c | 2 +-
sysdeps/nptl/{bits => }/stdio-lock.h | 6 +++---
sysdeps/pthread/flockfile.c | 2 +-
sysdeps/pthread/ftrylockfile.c | 2 +-
sysdeps/pthread/funlockfile.c | 2 +-
8 files changed, 25 insertions(+), 11 deletions(-)
rename {bits => sysdeps/generic}/stdio-lock.h (95%)
rename sysdeps/nptl/{bits => }/stdio-lock.h (97%)
--
You are receiving this mail because:
You are on the CC list for the bug.