mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 14:10:49 +02:00
commit bash-20110121 snapshot
This commit is contained in:
+2
-1
@@ -1240,8 +1240,9 @@ brand ()
|
||||
October 1988, p. 1195. filtered through FreeBSD */
|
||||
long h, l;
|
||||
|
||||
/* Can't seed with 0. */
|
||||
if (rseed == 0)
|
||||
seedrand ();
|
||||
rseed = 123459876;
|
||||
h = rseed / 127773;
|
||||
l = rseed % 127773;
|
||||
rseed = 16807 * l - 2836 * h;
|
||||
|
||||
Reference in New Issue
Block a user