We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae8699 commit 3ee2472Copy full SHA for 3ee2472
src/os/tempfile.go
@@ -17,7 +17,8 @@ var minrandMutex sync.Mutex
17
func init() {
18
// Avoid getting same results on every run
19
now := time.Now()
20
- seed := uint32(Getpid()) ^ uint32(now.Nanosecond()) ^ uint32(now.Unix())
+ // seed := uint32(Getpid()) ^ uint32(now.Nanosecond()) ^ uint32(now.Unix())
21
+ seed := uint32(now.Nanosecond()) ^ uint32(now.Unix())
22
// initial state must be odd
23
minrandPreviousValue = seed | 1
24
}
0 commit comments