]> Cypherpunks repositories - gostls13.git/commit
runtime: use os.TempDir instead of hard-coding /tmp
authorBryan C. Mills <bcmills@google.com>
Tue, 28 Feb 2023 21:12:13 +0000 (21:12 +0000)
committerBryan Mills <bcmills@google.com>
Tue, 28 Feb 2023 22:18:56 +0000 (22:18 +0000)
commit65fa9ce8b51f86bf3c9c9ff4d7ae41b40a537e69
tree7bfabcc29312963192309322c5e64581beeaf8c1
parentec26277aecfba112089b1bb54b522bf062059e22
runtime: use os.TempDir instead of hard-coding /tmp

On Android, /tmp does not exist.

Change-Id: Ib1797d79d89704a7a9466ad94efd57d2848b3b57
Reviewed-on: https://go-review.googlesource.com/c/go/+/472255
TryBot-Bypass: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/runtime/testdata/testprog/lockosthread.go