Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!husc6!cmcl2!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: alloca wars Keywords: alloca memory allocation Message-ID: <8301@smoke.ARPA> Date: 3 Aug 88 04:31:33 GMT References: <3950010@eecs.nwu.edu> <62170@sun.uucp> <62363@sun.uucp> <8293@smoke.ARPA> <19895@cornell.UUCP> <5422@june.cs.washington.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <5422@june.cs.washington.edu> pardo@june.cs.washington.edu (David Keppel) writes: - foo = alloca( size ); - : - afree( size ); - return( value ); -Does anybody object to these semantics? Yes, I object very much. If you're going to do that, just use malloc()/free(), which are universally available.