From owner-freebsd-audit Sat May 12 11: 9:11 2001 Delivered-To: freebsd-audit@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 885) id 72CAC37B424; Sat, 12 May 2001 11:09:10 -0700 (PDT) Date: Sat, 12 May 2001 11:09:10 -0700 From: Eric Melville To: freebsd-audit@freebsd.org Subject: MFC for last window(1) patch Message-ID: <20010512110910.A51717@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I probably ought to MFC this to kill another mktemp(3) from the tree. It's the same thing that I committed a couple weeks back aside from the line numbers. Also, I frequently see "foo.h" instead of for including system wide headers in the older source. Is this something that should be changed, or does the fact that it works fine mean it should stay the same? Index: scanner.c =================================================================== RCS file: /home/ncvs/src/usr.bin/window/scanner.c,v retrieving revision 1.2 diff -r1.2 scanner.c 45a46 > #include "mystring.h" Index: wwterminfo.c =================================================================== RCS file: /home/ncvs/src/usr.bin/window/wwterminfo.c,v retrieving revision 1.3 diff -r1.3 wwterminfo.c 66,67c66 < mktemp(wwterminfopath); < if (mkdir(wwterminfopath, 0755) < 0 || --- > if (mkdtemp(wwterminfopath) < 0 || To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message