Re: [testsuite] use rand instead of random

2019-08-08 Thread Jeff Law
On 8/8/19 12:30 AM, Alexandre Oliva wrote: > rand is in ISO C, whereas random is only in POSIX, so it makes sense > to use the more portable function everywhere instead of falling back > from one to the other on systems that miss the less portable one. > > Tested on x86_64-linux-gnu, native and cr

Re: [testsuite] use rand instead of random

2019-08-08 Thread Segher Boessenkool
On Thu, Aug 08, 2019 at 03:30:55AM -0300, Alexandre Oliva wrote: > rand is in ISO C, whereas random is only in POSIX, so it makes sense > to use the more portable function everywhere instead of falling back > from one to the other on systems that miss the less portable one. > > Tested on x86_64-li