[fpc-devel] I get duplicate GUIDs under Linux
graemeg.lists at gmail.com
Thu May 29 14:22:00 CEST 2008
2008/5/29 Mattias Gärtner <nc-gaertnma at netcologne.de>:
> Sorry. Openssl has *nothing* to do with the CreateGUID function.
I thought that much, but then thought it wouldn't hurt installing the
>> What is really weird is that once I hit the 1021 limit, I can't run
>> that method again. I get a duplicate after 1 add! It seems to behave
>> exactly like random() without calling randomize(). It seems to
>> remember the last "position" it it's seed or something and tries to
>> continue where it left off. The same pattern, over and over.
> Maybe the 1021 is the limit of /dev/random.
I gather that you can reproduce the issue and also get stuck on 1021?
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-devel