Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Shutting up a silly compiler warning
- X-seq: zsh-workers 9925
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Shutting up a silly compiler warning
- Date: Tue, 29 Feb 2000 08:39:54 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Jos Backus just reported this one to me, from the FreeBSD compiler:
utils.o: In function `gettempname':
utils.o(.text+0x1bfa): warning: mktemp() possibly used unsafely; consider
using mkstemp()
Zsh does NOT use mktemp() unsafely, and it can't use mkstemp() because it
sometimes wants to create a FIFO or other non-plain-file. What's the way
to get rid of this warning without actually changing the code?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author