This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] ppc64 utmp changes
- From: Roland McGrath <roland at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Steve Munroe <sjmunroe at us dot ibm dot com>, libc-alpha at sources dot redhat dot com
- Date: Mon, 30 Sep 2002 13:43:26 -0700
- Subject: Re: [PATCH] ppc64 utmp changes
> Now an important question is whether we want to do something similar
> on x86-64, s390/s390x and sparc/sparc64.
> Because when both 32-bit and 64-bit programs will use utmp/utmpx,
> the files will contain garbage.
Well, I'd been presuming the formats had been settled for those
architectures already. If it's acceptable or desireable to change them,
then let's look at all the architectures at once. If we can just change
the one sysdeps/gnu/bits/utmp{x,}.h file to use bits/wordsize.h and be
consistent everywhere, that would be much better than lots of new utmp.h files.
But for existing platforms with a wide struct timeval, this would break the
existing 64-bit utmp files, and would need versioning on all the interfaces
using struct utmp if we don't want to break the ABIs too.