Author: qmathe
Date: Mon Sep  8 00:19:25 2008
New Revision: 3580

URL: http://svn.gna.org/viewcvs/etoile?rev=3580&view=rev
Log:
Fixed UUID collisions on Linux by porting FreeBSD srandomdev() to it. 
If a program is run several times, clock() returns relatively often an identical
value and with the low precision: 13000, 17000 etc. for example with ukrun on my
machine. This number is used as a seed, so identical sequences of UUIDs can
easily happen on Linux. This problem would also occur for multiple programs that
run concurrently and create UUIDs.

Modified:
    trunk/Etoile/Frameworks/EtoileFoundation/ChangeLog
    trunk/Etoile/Frameworks/EtoileFoundation/Source/ETUUID.m
    trunk/Etoile/Frameworks/EtoileFoundation/Source/TestUUID.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to