[Vm-dev] For how long UUID issue will bite us? (Was: Re: [squeak-dev] Closure testers needed)

Brent Pinkney brent at zamail.co.za
Sat Jul 18 06:33:32 UTC 2009


> As a workaround, how is this?
> 
> UUID>>initialize
> 	"Some unix versions crash with the UUID prim, so disable it for all of 'em"
> 	Smalltalk platformName = 'unix'
> 		ifTrue:[UUIDGenerator default generateBytes: self forVersion: 4]
> 		ifFalse:[self primMakeUUID].

No lads, we use this in a production telco environment - lets fix it properly.

Brent


More information about the Vm-dev mailing list