Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 1996 23:20:50 -0700
From:      David Greenman <dg@root.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        current@freebsd.org
Subject:   Re: BLOAT in minimal programs 
Message-ID:  <199609260620.XAA00219@root.com>
In-Reply-To: Your message of "Wed, 25 Sep 1996 23:07:42 PDT." <324A1DAE.41C67EA6@whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
...
>THIS IS NOT MINIMAL!
>I DID NOT WANT ALL THIS CRAP!
>why oh why did I get malloc?

   Because atexit() uses it to remember exit callouts (see crt0.c).

>vfprintf?
>__CurrentRuneLocale ?
>hell it doesn't even contain a STRING let alone a default nationality!

   I think this is all because malloc (or something in crt0.c) calls a stdio
funtion like printf either directly or indirectly via a perror() or equivilent.
Of course Runes comes in because of vfprintf, etc, etc.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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