RCS and SCO Xenix

James Van Artsdalen james at bigtex.cactus.org
Sun Jan 22 16:03:33 AEST 1989


In <538 at eecea.eece.ksu.edu>, terry at eecea.UUCP (Terry Hull) wrote:
> [...]  Secondly, to compile GNU diff, you need alloca.  I used the
> one from GNU EMACS, and it seems to work fine.

Ack!  You should avoid the "portable" alloca() from GNU emacs at all
costs, as it is hideously slow and can consume *large* amounts of
memory.  Truly it is a last resort.  Surely Microsoft has alloca() in
one of the libraries.  AT&T keeps one in libPW, and GNU C has it built
in if you declare

#define alloca(n) __builtin_alloca(n)
-- 
James R. Van Artsdalen          james at bigtex.cactus.org   "Live Free or Die"
DCC Corporation     9505 Arboretum Blvd Austin TX 78759         512-338-8789



More information about the Comp.unix.xenix mailing list