emacs-devel
[Top][All Lists]
Advanced

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

Re: crash: CVS sources on Solaris 2.5.1 with gcc 3.0


From: Eli Zaretskii
Subject: Re: crash: CVS sources on Solaris 2.5.1 with gcc 3.0
Date: Sat, 10 Nov 2001 11:15:16 +0200

> From: Richard Stallman <address@hidden>
> Date: Fri, 9 Nov 2001 22:40:27 -0700 (MST)
> 
> What happens if you use alloca instead of malloc to allocate that
> space?

Using alloca for such large allocations might exceed the stack size
limits on some systems.  So, unless all systems which use unexelf.c
have unlimited stack, I think this is dangerous.

We may need to bite the bullet and rewrite unexelf.c to copy stuff
between temacs and emacs with sequences of seeks, reads, and writes,
instead of malloc'ing one large buffer and walking the buffer in
memory.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]