Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 14:40:40 -0400 (EDT)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/43810: 'echo' is too big
Message-ID:  <200210081840.g98IeeK0047411@khavrinen.lcs.mit.edu>
In-Reply-To: <200210080800.g988023c018716@freefall.freebsd.org>
References:  <200210080800.g988023c018716@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 8 Oct 2002 01:00:02 -0700 (PDT), Bruce Evans <bde@zeta.org.au> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210081840.g98IeeK0047411>