From owner-freebsd-bugs Tue Oct 8 11:40:44 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E4D337B401 for ; Tue, 8 Oct 2002 11:40:43 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id A91D943E7B for ; Tue, 8 Oct 2002 11:40:42 -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.3/8.12.5) with ESMTP id g98IefgQ047414 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 8 Oct 2002 14:40:42 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id g98IeeK0047411; Tue, 8 Oct 2002 14:40:40 -0400 (EDT) (envelope-from wollman) Date: Tue, 8 Oct 2002 14:40:40 -0400 (EDT) From: Garrett Wollman Message-Id: <200210081840.g98IeeK0047411@khavrinen.lcs.mit.edu> To: Bruce Evans Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/43810: 'echo' is too big In-Reply-To: <200210080800.g988023c018716@freefall.freebsd.org> References: <200210080800.g988023c018716@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org < said: > "main() {}" now uses malloc() because atexit() uses it unconditionally and > crt1 uses atexit() unconditionally (to do nothing for "main() {}"). Given the limitations of the atexit() interface in the first place, I see no particular reason why atexit() should provide for dynamic allocation. If it were really important (hah!) we could play weak-symbol games. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message