From owner-freebsd-questions Thu Jan 27 2:22:14 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 D806F154B2 for ; Thu, 27 Jan 2000 02:22:07 -0800 (PST) (envelope-from dan@langille.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 XAA31875 for ; Thu, 27 Jan 2000 23:22:03 +1300 (NZDT) Message-Id: <200001271022.XAA31875@ducky.nz.freebsd.org> From: "Dan Langille" Organization: langille.org To: questions@FreeBSD.ORG Date: Thu, 27 Jan 2000 23:22:01 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: mktemp() possibly used unsafely; consider using mkstemp() Reply-To: dan@langille.org In-reply-to: <20000121124814.C77623@mithrandr.moria.org> References: <200001210902.WAA73869@ducky.nz.freebsd.org> X-mailer: Pegasus Mail for Win32 (v3.12b) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21 Jan 00, at 12:48, Neil Blakey-Milner wrote: > On Fri 2000-01-21 (22:02), Dan Langille wrote: > > 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. > > It's not a fatal error. There is most probably another reason for > the failure. I came back to this problem today. rsync built without problem. I suspect a port problem which has since been fixed. That isn't to say the problem was within the rsync port (which, BTW, had a commit on 1.31 Wed Jan 26 9:22:00 2000 UTC by sumikawa, Use ${OSVERSION} instead of ${USE_INET6}). It may have been that and/or something which was out ot sync within my ports tree. cheers. -- Dan Langille [I'm looking for more work] http://www.langille.org/ | http://www.unixathome.org/ http://www.racingsystem.com/ | http://www.freebsddiary.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message