This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][BZ 14561] Separate rand and random seeds.


On Thu, May 23, 2013 at 12:11:41PM -0700, Roland McGrath wrote:
> What's the motivation for the change?

Now srand function can change numbers from random and srandom can change
rand output.

A code that depends on not doing this it is bit contrived but separating
them is easy, so it looked like rigth thing.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]