Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2000 00:18:10 -0700 (PDT)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        "Koster, K.J." <K.J.Koster@kpn.com>
Cc:        "'FreeBSD Hackers mailing list'" <freebsd-hackers@freebsd.org>
Subject:   RE: Double buffered cp(1)
Message-ID:  <Pine.BSF.4.21.0005120016210.79006-100000@freefall.freebsd.org>
In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D74DE@l04.research.kpn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <forsythe@alum.mit.edu>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005120016210.79006-100000>