This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]