[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:

> > I don't think it's right that two pieces of software can declare
> > the same struct and have them come out different things... there's
> > something wrong.
 
> Bogus, if you compile them with the same options then will the the
> same. If you compile one with LFS and one without you can expect
> problems as you have demonstrated.

Well then that's a problem, because we need to make sure everything in
Debian that could be combined is compiled with the these same things,
otherwise, there is a lot of room for nasty bugs.

In any case, changing the order of two header files doesn't seem
offhand like the sort of thing that would go about changing the system
definitions.  That's poor modularity, in my opinion, because neither
Apache nor Python, Tcl or anything else but libc6 owns the stuff in
include/sys/.

-- 
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: