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 a83ff30 commit 67d4c61Copy full SHA for 67d4c61
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