This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Avoid local PLT for dirfd
On Tuesday, February 28, 2012 14:59:34 Joseph S. Myers wrote:
> On Tue, 28 Feb 2012, Jakub Jelinek wrote:
> > I'd say you should not introduce __dirfd, but instead just
> > add libc_hidden_proto (dirfd) (in include/dirent.h) and
> > libc_hidden_def (dirfd) (in the dirfd.c).
> > Then you don't need to adjust any users of that function.
>
> Or you could simply restore the old include order in include/dirent.h,
> so that <dirstream.h> is again included before <dirent/dirent.h> and so
> the macro version of dirfd gets used as it did until the recent header
> changes.
This is what Andreas Schwab just committed.
Andreas, could you tell us next time what you do, please?
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126