Date: Wed, 14 Feb 1996 14:11:34 -0500 From: "Garrett A. Wollman" <wollman@lcs.mit.edu> To: kline@tera.com (Gary Kline) Cc: questions@freebsd.org Subject: mktemp() Message-ID: <9602141911.AA06754@halloran-eldar.lcs.mit.edu> In-Reply-To: <9602141821.AA15933@tera.com> References: <9602141821.AA15933@tera.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 14 Feb 1996 10:22:04 -0800 (PST), kline@tera.com (Gary Kline) said: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602141911.AA06754>