From owner-freebsd-hackers Sun Jan 12 17:47:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA10332 for hackers-outgoing; Sun, 12 Jan 1997 17:47:34 -0800 (PST) Received: from pdx1.world.net (pdx1.world.net [192.243.32.18]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA10327 for ; Sun, 12 Jan 1997 17:47:32 -0800 (PST) From: proff@suburbia.net Received: from suburbia.net (suburbia.net [203.4.184.1]) by pdx1.world.net (8.7.5/8.7.3) with SMTP id RAA25516 for ; Sun, 12 Jan 1997 17:48:36 -0800 (PST) Received: (qmail 24719 invoked by uid 110); 13 Jan 1997 01:47:23 -0000 Message-ID: <19970113014723.24718.qmail@suburbia.net> Subject: Re: number of lines in a file, given its size In-Reply-To: from J Wunsch at "Jan 12, 97 09:49:37 pm" To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 13 Jan 1997 12:47:23 +1100 (EST) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > You can't allocate an array of pointers with strdup(). Period. > realloc() Cheers, Julian