From owner-freebsd-questions Wed Feb 14 11:11:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA07459 for questions-outgoing; Wed, 14 Feb 1996 11:11:41 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA07454 for ; Wed, 14 Feb 1996 11:11:40 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA06754; Wed, 14 Feb 1996 14:11:34 -0500 Date: Wed, 14 Feb 1996 14:11:34 -0500 From: "Garrett A. Wollman" Message-Id: <9602141911.AA06754@halloran-eldar.lcs.mit.edu> To: kline@tera.com (Gary Kline) Cc: questions@freebsd.org Subject: mktemp() In-Reply-To: <9602141821.AA15933@tera.com> References: <9602141821.AA15933@tera.com> Sender: owner-questions@freebsd.org Precedence: bulk < The libc call mktemp() (along with strtok() and strsep(), by the way) > causes a coredump when I use it with gcc. This from v 2.0.5. mktemp() modifies its argument. It is incorrect to pass it a string literal. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant