Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/gpl3



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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
    src/external/gpl3/binutils/dist/libiberty/make-temp-file.c
cvs rdiff -u -r1.1.1.2 -r1.2 \
    src/external/gpl3/gcc/dist/libiberty/make-temp-file.c
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/gdb/dist/libiberty/make-temp-file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index