[fpc-devel] I get duplicate GUIDs under Linux

Florian Klaempfl florian at freepascal.org
Thu May 29 15:29:36 CEST 2008


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.



More information about the fpc-devel mailing list