CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/03/21 06:36:49
Modified files:
lib/libc/stdlib: random.c
Log message:
Fix a bug where random() always returns 0 when srandom() is seeded
with 0. Use 1 and not 0 as the first element of the state array,
similar to what glibc does. OK nicm@
