file: Update from 5.32 to 5.33
[termux-packages] / packages / golang / src-os-file_unix.go.patch
CommitLineData
00bbfab6
FF
1--- ../go/src/os/file_unix.go 2015-08-06 00:36:35.000000000 -0400
2+++ ./src/os/file_unix.go 2015-08-14 03:28:11.634760646 -0400
3@@ -329,11 +329,7 @@
4 func TempDir() string {
5 dir := Getenv("TMPDIR")
6 if dir == "" {
7- if runtime.GOOS == "android" {
8- dir = "/data/local/tmp"
9- } else {
10- dir = "/tmp"
11- }
12+ dir = "@TERMUX_PREFIX@/tmp"
13 }
14 return dir
15 }