Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gdb/dist/libiberty Undo local patch having no ...



details:   https://anonhg.NetBSD.org/src/rev/ec58ac0d981f
branches:  trunk
changeset: 1014926:ec58ac0d981f
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Oct 06 21:49:22 2020 +0000

description:
Undo local patch having no impact

/tmp is picked from P_tmpdir earlier.

diffstat:

 external/gpl3/gdb/dist/libiberty/make-temp-file.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 99d58cd26e8b -r ec58ac0d981f external/gpl3/gdb/dist/libiberty/make-temp-file.c
--- a/external/gpl3/gdb/dist/libiberty/make-temp-file.c Tue Oct 06 21:39:53 2020 +0000
+++ b/external/gpl3/gdb/dist/libiberty/make-temp-file.c Tue Oct 06 21:49:22 2020 +0000
@@ -129,10 +129,10 @@
        base = try_dir (P_tmpdir, base);
 #endif
 
-      /* Try /tmp, /var/tmp, then /usr/tmp.  */
-      base = try_dir (tmp, base);
+      /* Try /var/tmp, /usr/tmp, then /tmp.  */
       base = try_dir (vartmp, base);
       base = try_dir (usrtmp, base);
+      base = try_dir (tmp, base);
       
       /* If all else fails, use the current directory!  */
       if (base == 0)



Home | Main Index | Thread Index | Old Index