Re: texinfo 4.6.91: fix broken xmalloc

Andreas Schwab <[email protected]> Sun, 14 Mar 2004 17:25:34 +0100
Newsgroups gmane.comp.tex.texinfo.pretest
Message-ID <[email protected]>
[email protected] (Karl Berry) writes:

>     The xmalloc implementation is not 64 bit clean.  This fixes all its
>     anachronisms.
>
> Hmm.  There are so many complexities around size_t, I admit I am
> somewhat leery of this.  I have seen more meaningless compiler errors
> than I can count.

You are requiring C89 anyway, so what's the problem?

> I really doubt anyone will be creating >2gb Texinfo files in the
> meantime ...

It's not about >2gb, but about bogus malloc declaration.  It causes
install-info to fail with ENOMEM.  It's a blocker for 64 bit systems.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest