random numbers on linux
Switch the default Linux build behavior to use random instead of lrand48, since lrand48 exhibits some obviously non-random behavior. random() has been in glibc for a long time. Even if no other changes are made to nethack's random number generator, this will improve the Linux behavior.
This commit is contained in:
@@ -116,6 +116,7 @@ tiles: bad pixels in Croesus and Yeenoghu tiles
|
||||
FreeBSD: incorrect srandom declaration
|
||||
unix: don't autosave if hangup occurs after game is over
|
||||
linux: add example use of nroff on recent Linux distros
|
||||
linux: use random() by default instead of lrand48()
|
||||
|
||||
|
||||
General New Features
|
||||
|
||||
Reference in New Issue
Block a user