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

Re: [MiNT] du bug



On Wed, May 10, 2000 at 09:18:06PM +0200, Andreas Schwab wrote:
> "Guido Flohr" <gufl0000@stud.uni-sb.de> writes:
> 
> |> I think there should be an update for the MiNTLib anyway.  By accident
> |> __time_t is currently defined as __int32_t instead of long in
> |> <bits/types.h>.  Not really a bug but at least mgetty (and probably
> |> others) assume that time_t is long, not int.
> 
> Then mgetty is broken.  time_t can be any (arithmetic) type.

Sure, but a lot of code is broken in that respect and it turned out to be
unwise to insist on standard conformance ...

Mgetty is not the only software that silently expects certain data types
to have a certain size or to be signed/unsigned where the 
standard merely asks for any arithmetic type.  Unfortunately, any
deviation from Linux implementations is asking for trouble nowadays.  Some
people simply don't like autoconf.

Ciao

Guido
-- 
http://www.stud.uni-saarland.de/
Send your spam to president@whitehouse.gov and your replies to
mailto:guido at freemint dot de