From owner-freebsd-audit Wed Jan 19 10:40:27 2000 Delivered-To: freebsd-audit@freebsd.org Received: from smtp1a.ispchannel.com (cluster.ispchannel.com [24.142.63.7]) by hub.freebsd.org (Postfix) with ESMTP id 55B65152F5 for ; Wed, 19 Jan 2000 10:40:22 -0800 (PST) (envelope-from spock@techfour.net) Received: from enterprise.muriel.penguinpowered.com ([208.138.198.103]) by smtp1a.ispchannel.com (InterMail vK.4.02.00.00 201-232-116 license 7d3764cdaca754bf8ae20adf0db2aa60) with ESMTP id <20000117064148.EOJF9448.smtp1a@enterprise.muriel.penguinpowered.com> for ; Sun, 16 Jan 2000 22:41:48 -0800 Content-Length: 1443 Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-SENDERNAME: `Mike Heffner` Date: Mon, 17 Jan 2000 01:39:42 -0500 (EST) From: Mike Heffner To: FreeBSD-audit Subject: cc tempfile handling? Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ sorry if you get this twice, my ISP's sendmail was giving errors ] After doing some tempfile monitoring, I've noticed that cc will create several tempfile's during compile of one file. As seen below: + -rw------- 1 spock wheel 17421 Jan 12 00:18 /tmp/ccO10265.i + -rw------- 1 spock wheel 0 Jan 12 00:18 /tmp/ccf10265.s + -rw------- 1 spock wheel 0 Jan 12 00:18 /tmp/ccJ10265.o - -rw------- 1 spock wheel 0 Jan 12 00:18 /tmp/ccJ10265.o - -rw------- 1 spock wheel 0 Jan 12 00:18 /tmp/ccf10265.s - -rw------- 1 spock wheel 17421 Jan 12 00:18 /tmp/ccO10265.i ^ As you notice, there's only one char that is changing between them (when you have a 5 digit pid). Can we increase the number of X's in the file template from 6 to 10, as was done in some other patches recently posted by Kris Kennaway ? Here's a patch for what i suggested: Index: choose-temp.c =================================================================== RCS file: /home/ncvs/src/contrib/gcc/choose-temp.c,v retrieving revision 1.3 diff -r1.3 choose-temp.c 76c76 < #define TEMP_FILE "ccXXXXXX" --- > #define TEMP_FILE "ccXXXXXXXXXX" Later, --------------------------------- Mike Heffner Fredericksburg, VA ICQ# 882073 Date: 17-Jan-00 Time: 01:39:12 --------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message