(Fcall_process): Don't use alloca to gradually
authorKim F. Storm <storm@cua.dk>
Fri, 3 Jun 2005 23:02:40 +0000 (23:02 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 3 Jun 2005 23:02:40 +0000 (23:02 +0000)
commit4da256b12405664071edb7183de9e94cce8ec210
treefa7de037a9a7b5361a44410411d732d54ae42d6b
parent731475e79a78cb7f0eb8a25c22a17513fea02738
(Fcall_process): Don't use alloca to gradually
increase size of buf, as it effectively uses twice the necessary
space on the stack.  Instead, pre-allocate buf of full size, and
gradually increase the read size.
src/callproc.c