[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stat vs stat64 - ugly problem

Wichert Akkerman <wichert@wiggy.net> writes:

> Previously David N. Welton wrote:

> > Right, so how do we fix this?  It is our problem, in that we need
> > to make the software we distribute work together.  But are you
> > also saying that upstream shouldn't be setting that bit in their
> > header file?

> As long as the API (and ABI) never exports things like struct stat
> and offset_t (ie things that are affected by enabling LFS) it should
> not matter if you link things that are compiled with LFS with things
> that are not.

It wouldn't cause problems if you did stat64(&foo) where foo is a
regular 'struct stat'?

David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Reply to: