Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2000 21:56:11 -0700 (PDT)
From:      Dima Dorfman <dima@unixfreak.org>
To:        David@SkytrackerCanada.com
Cc:        bsd <questions@freebsd.org>
Subject:   Re: warning:mktemp() use unsafe; consider mkstemp()
Message-ID:  <20000818045611.E3B241F17@static.unixfreak.org>
In-Reply-To: <399C11C0.642B49F5@www3.pacific-pages.com> from David Banning at "Aug 17, 2000 12:24:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> during many compiles I get this error
> 
> warning: mktemp() possibly used unsafely; consider using mkstemp()
> 
> how can I get rid of it?

If it's your program, do what it says, and use mkstemp() instead.  If
it isn't, you probably shouldn't worry about it, but if you really
care, you could probably bug the maintainer about it.

Hope this helps

-- 
Dima Dorfman <dima@unixfreak.org>
Finger dima@unixfreak.org for my public PGP key.

"When in doubt, use brute force."
	-- Ken Thompson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000818045611.E3B241F17>