Subject: Re: gcc 2.7.2.2 Bug with NetBSD1.3.2 ??
To: None <crashcore@t-online.de>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 10/13/1998 20:01:30
On Tue, 13 Oct 1998, it was written:

:             name = new char(strlen(n)+1);

This allocates _one_ character with value strlen(n)+1.
This line should read:

		name = new char[strlen(n)+1];

Notice the difference between () (which is a constructor for a _single_
object) and [] (which indicates an array of multiple objects).

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)