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

Re: [MiNT] Gcc 3.3.6 v 4.0.1



On Mon, 2009-03-02 at 10:49 +0100, Vincent Rivière wrote:
> Alan Hourihane wrote:
> > Yes, so doing...
> > 
> > stream->__cookie = (void *)obstack 
> > 
> > isn't enough either ??
> 
> The fact this line was missing was the second cause of failure. But it
> isn't enough, because the static grow() function is totally broken.
> Obviously, these functions have never been tested.
> 
> I searched that code on the web, it seems that it comes from an old
> version of the glibc. The current glibc is totally different.
> 
> This is a big problem with the MiNTLib. It contains MiNT related stuff
> (it is good), as well as a large amount of code coming from the glibc.
> But that code is never updated.

Right. I've noticed that too. I recently updated getopt handling.

> Adding MiNT functionality to the MiNTLib is our job. But fixing the GNU
> bugs which have been fixed for several years in the official
> repositories is not. And that obstream stuff is totally unrelated to
> MiNT, we all spent our time on things already fixed by other people. 
> This is bad.

Indeed.

timegm and the whole mktime time setup is another. We shouldn't need the
whole timezone database in mintlib. I'll be working on that soon.

Alan.