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/0d1f656d7456
branches:  trunk
changeset: 976891:0d1f656d7456
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 073f467f9ff9 -r 0d1f656d7456 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