From owner-freebsd-questions Fri Jan 21 1: 2:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ducky.nz.freebsd.org (chilled.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 5ED06151CF for ; Fri, 21 Jan 2000 01:02:20 -0800 (PST) (envelope-from dan@freebsddiary.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id WAA73869 for ; Fri, 21 Jan 2000 22:02:17 +1300 (NZDT) Message-Id: <200001210902.WAA73869@ducky.nz.freebsd.org> From: "Dan Langille" Organization: The FreeBSD Diary To: questions@FreeBSD.ORG Date: Fri, 21 Jan 2000 22:02:11 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: mktemp() possibly used unsafely; consider using mkstemp() Reply-To: dan@freebsddiary.org X-mailer: Pegasus Mail for Win32 (v3.12b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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