Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/external/gpl3
On Mon, Aug 10, 2015 at 03:45:41PM +0000, Jonathan A. Kollasch wrote:
> Module Name: src
> Committed By: jakllsch
> Date: Mon Aug 10 15:45:40 UTC 2015
>
> Modified Files:
> src/external/gpl3/binutils/dist/libiberty: make-temp-file.c
> src/external/gpl3/gcc/dist/libiberty: make-temp-file.c
> src/external/gpl3/gdb/dist/libiberty: make-temp-file.c
>
> Log Message:
> Correct temporary directory preference order in libiberty's choose_tmpdir().
>
> Because it is intended to be persistent, /var/tmp is about the worst possible
> choice for temporary files for most users of libiberty. /tmp works better,
> because the the defined semantics of /tmp allow for a non-persistent tmpfs
> to be used. This should improve performance when /tmp is a tmpfs and it is
> difficult or impossible to have an environment variable or command line -pipe
> flag passed to every piece of the toolchain.
Historically /tmp was likely to be small.
That is why /var/tmp exists, and is probably why the compiler defaults
to /var/tmp.
The system should probably clean 'turds' from both /tmp and /var/tmp.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index