This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Default linux __xstat gives 16-bit st_uid:s, while i386 __xstat gives 32 bits
- To: drepper at cygnus dot com
- Subject: Re: Default linux __xstat gives 16-bit st_uid:s, while i386 __xstat gives 32 bits
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Wed, 11 Apr 2001 00:17:53 +0200
- CC: hans-peter dot nilsson at axis dot com, libc-alpha at sources dot redhat dot com
> From: Ulrich Drepper <drepper@redhat.com>
> Date: 10 Apr 2001 14:49:09 -0700
> Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
>
> > To wit, is there a reason why the default
> > sysdeps/unix/sysv/linux/xstat.c does not do as in
> > sysdeps/unix/sysv/linux/i386/xstat.c and use the stat64 kernel
> > call when it is available?
>
> Because 64-bit platforms and any new platform don't need it (the
> latter it least should not need it).
I think I understand now; a new port should provide its own
kernel_stat.h, but its struct kernel_stat should be defined to
the kernel struct stat64, and XSTAT_IS_XSTAT64 should be
defined. Ok...
brgds, H-P