From owner-freebsd-audit Sun Jan 16 19:17:33 2000 Delivered-To: freebsd-audit@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 758) id 8C37514D64; Sun, 16 Jan 2000 19:17:32 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 7AC661CD446; Sun, 16 Jan 2000 19:17:32 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Sun, 16 Jan 2000 19:17:32 -0800 (PST) From: Kris Kennaway To: Peter Jeremy Cc: audit@FreeBSD.ORG Subject: Re: awk tempfile handling In-Reply-To: <00Jan17.130325est.40324@border.alcanet.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 17 Jan 2000, Peter Jeremy wrote: > No good. mkstemp() updates the passed string in place (see the notes > in mktemp(3). The above defines a read-only string. This leads to > segmentation violations at runtime. [Snip other problems] Gah, I guess I wasn't actually looking when I made this patch. I'll revisit it. It's good to see someone is actually reading these - thanks! Kris ---- "How many roads must a man walk down, before you call him a man?" "Eight!" "That was a rhetorical question!" "Oh..then, seven!" -- Homer Simpson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message