Date: Fri, 21 Jan 2000 22:02:11 +1300 From: "Dan Langille" <dan@freebsddiary.org> To: questions@FreeBSD.ORG Subject: mktemp() possibly used unsafely; consider using mkstemp() Message-ID: <200001210902.WAA73869@ducky.nz.freebsd.org>
next in thread | raw e-mail | index | archive | help
When building rsync-2.3.2, I encountered the following error: cc -O -pipe -Dss_family=__ss_family -Dss_len=__ss_len -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/getopt.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o getaddrinfo.o getnameinfo.o -lz syscall.o: In function `do_mktemp': syscall.o(.text+0x2e1): warning: mktemp() possibly used unsafely; consider using mkstemp() Two machines, both on 3.3-19991207-SNAP, both building rsync-2.3.2, one suceeds, the other gets the above. Go figure. Clues please. -- Dan Langille - DVL Software Limited [I'm looking for more work] The FreeBSD Diary - http://www.freebsddiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm unix @ home - http://www.unixathome.org/ 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?200001210902.WAA73869>