This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 23/23] [AARCH64] Take utmp{,x}.h from s390 port
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Yury Norov <ynorov at caviumnetworks dot com>
- Cc: <libc-alpha at sourceware dot org>, <linux-kernel at vger dot kernel dot org>, <arnd at arndb dot de>, <catalin dot marinas at arm dot com>, <marcus dot shawcroft at arm dot com>, <philb at gnu dot org>, <davem at davemloft dot net>, <szabolcs dot nagy at arm dot com>, <maxim dot kuvyrkov at linaro dot org>, <pinskia at gmail dot com>, <bamvor dot zhangjian at huawei dot com>, <schwab at suse dot de>, <fweimer at redhat dot com>, <Prasun dot Kapoor at cavium dot com>, <cmetcalf at mellanox dot com>, <hjl dot tools at gmail dot com>, <adhemerval dot zanella at linaro dot org>
- Date: Tue, 28 Jun 2016 20:38:47 +0000
- Subject: Re: [PATCH 23/23] [AARCH64] Take utmp{,x}.h from s390 port
- Authentication-results: sourceware.org; auth=none
- References: <1467131978-669-1-git-send-email-ynorov at caviumnetworks dot com> <1467131978-669-24-git-send-email-ynorov at caviumnetworks dot com> <alpine dot DEB dot 2 dot 20 dot 1606281717410 dot 25214 at digraph dot polyomino dot org dot uk> <20160628175107 dot GA2262 at yury-N73SV>
On Tue, 28 Jun 2016, Yury Norov wrote:
> > You can't #include installed headers from other ports like this; it
> > wouldn't work when using an installed library.
> >
> > --
> > Joseph S. Myers
> > joseph@codesourcery.com
>
> So I should copy? Hmm...
Yes, unless you can develop an additional abstraction to describe the
differences between architectures, so that all architectures can share the
same bits/utmp.h and bits/utmpx.h and there's only a smaller header that
needs copying.
--
Joseph S. Myers
joseph@codesourcery.com