Module Name:    src
Committed By:   kamil
Date:           Tue Oct  6 21:49:22 UTC 2020

Modified Files:
        src/external/gpl3/gdb/dist/libiberty: make-temp-file.c

Log Message:
Undo local patch having no impact

/tmp is picked from P_tmpdir earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
    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.

Modified files:

Index: src/external/gpl3/gdb/dist/libiberty/make-temp-file.c
diff -u src/external/gpl3/gdb/dist/libiberty/make-temp-file.c:1.6 src/external/gpl3/gdb/dist/libiberty/make-temp-file.c:1.7
--- src/external/gpl3/gdb/dist/libiberty/make-temp-file.c:1.6	Tue Sep 15 02:05:28 2020
+++ src/external/gpl3/gdb/dist/libiberty/make-temp-file.c	Tue Oct  6 21:49:22 2020
@@ -129,10 +129,10 @@ choose_tmpdir (void)
 	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)

Reply via email to