From owner-freebsd-hackers Fri May 12 0:18:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A2E8837BCDD; Fri, 12 May 2000 00:18:11 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id AAA79755; Fri, 12 May 2000 00:18:10 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Fri, 12 May 2000 00:18:10 -0700 (PDT) From: Kris Kennaway To: "Koster, K.J." Cc: "'FreeBSD Hackers mailing list'" Subject: RE: Double buffered cp(1) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D74DE@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 May 2000, Koster, K.J. wrote: > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I > never understood why, and the gcc manual page claims that it's /tmp (I > think). MFS users, synchronize your TMPDIR variables ... now. :-) It did. Compiling a simple test program just now shows: + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccl22910.i + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccc22910.s + -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccP22910.o - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccl22910.i - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccc22910.s - -rw------- 1 root wheel 0 May 12 00:16 /tmp/ccP22910.o (incidentally, another reason to use -pipe is that the above filenames are predictable and probably handled insecurely so that another user can cause any of your files to be overwritten when you compile something. This is on my list of things to fix). Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message