Subject: malloc

From: [email-masked]
Date: Thu, 17 Jun 1993 07:35:05 -0700

Hey, we've been up for a whole week without crashing since we 
switched from GNU malloc to the built-in malloc on our Sun 4!
Pretty neat, huh?

-- Amy

---

From: [email-masked]
Date: Thu, 17 Jun 1993 15:33:27 -0700

This is a well-known bug, I thought, but perhaps this will help
someone....

The libc in SunOS 4.x (verifiably 4.1.1, possibly earlier, possibly
later) is buggy.  In particular, Sun's malloc() always allocates a bit
more memory than it was asked for.... and Sun's ctime() DEPENDS on this
broken behavior.

Ergo, any program which uses ctime() and a non-standard malloc() risks
crashing under this OS.

I just grit my teeth and use Sun's malloc.

FYI.
				AMBAR