From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 11:54:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EDD137B401 for ; Thu, 12 Jun 2003 11:54:24 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1BAA43F75 for ; Thu, 12 Jun 2003 11:54:22 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id h5CIsLjp086003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Jun 2003 14:54:21 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id h5CIsKAw086000; Thu, 12 Jun 2003 14:54:20 -0400 (EDT) (envelope-from wollman) Date: Thu, 12 Jun 2003 14:54:20 -0400 (EDT) From: Garrett Wollman Message-Id: <200306121854.h5CIsKAw086000@khavrinen.lcs.mit.edu> To: kientzle@acm.org In-Reply-To: <3EE8C84F.9040106@acm.org> References: <200306112248.AA655556764@141.com> <20030612045022.GA36033@rot13.obsecurity.org> <20030612051812.GQ48387@mail.evip.pl> <20030612153849.A57744@dilbert.robbins.dropbear.id.au> <200306121617.h5CGHbQw084862@khavrinen.lcs.mit.edu> <3EE8C84F.9040106@acm.org> X-Spam-Score: -9.9 () IN_REP_TO,REFERENCES X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: current@freebsd.org Subject: Re: adsl/pppoe no longer connecting on 5.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 18:54:24 -0000 < said: > Sounds like alloca() should simply be stricken from libc > on all architectures. Yes. (For values of `all' being `i386'.) > Might also be a good idea to begin removing uses of it. Not necessarily. There's nothing wrong, intrinsically, with using alloca(), although much but not all of the purpose has been subsumed by variable-length arrays which I think are in C99. One merely has to be aware that it is not part of Standard C (any more than a thousand other interfaces in FreeBSD) which must be implemented in the compiler; therefore, one cannot expect programs which expect alloca(3) to be available and have the standard semantics to work when compiled with a strictly conforming compiler. Most compilers do implement alloca(). -GAWollman