"Garrett D'Amore" <gdamore at sun.com> wrote:
> >> stat64(2) already exists -- you get it with largefile compiles. However,
> >> I don't think the time fields are 64 bit.
> >>
> >
> > They are not. This is the problem.
> >
> > J?rg
> I think its time we invented a new version of stat, utimes, etc. that
> used 64-bit time_t's, even on 32-bit kernels. Some new compilation
> flags (-DTIME64 ?) could use #pragma's to rename the symbols for "new"
> programs, which could be then used for compiling programs in ON.
If you like this to be independent of largefile compilation, you would need
to introduce two new interfaces for stat(2).
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily