On Thu, 29 May 2008, Florian Klaempfl wrote:
> Vincent Snijders schrieb: > > Michael Van Canneyt schreef: > > > > > > I patched it so Randomize is called only once. > > > Merged to fixes. > > > > Thanks. BTW, the log message made me think you introduced a new bug :-) > > "GetRandomBytes calls random only once" > > instead of > > "GetRandomBytes calls randomize only once" > > ... and it is not MT safe ;) because the variable is set before the actual > work is done. .. So in the worst case, it's called twice instead of once... But I've fixed it, with a nice log message. Michael. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel