commit bash-20110121 snapshot

This commit is contained in:
Chet Ramey
2011-12-12 22:14:43 -05:00
parent deeba0d2f7
commit f894a2d39b
13 changed files with 181 additions and 56 deletions
+2 -1
View File
@@ -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;