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]

Re: Default linux __xstat gives 16-bit st_uid:s, while i386 __xstat gives 32 bits


> 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


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