diff options
-rw-r--r-- | indra/lib/python/indra/base/lluuid.py | 9 | ||||
-rw-r--r-- | indra/llcommon/llversionserver.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/indra/lib/python/indra/base/lluuid.py b/indra/lib/python/indra/base/lluuid.py index f302f8b002..5209de45a0 100644 --- a/indra/lib/python/indra/base/lluuid.py +++ b/indra/lib/python/indra/base/lluuid.py @@ -27,6 +27,7 @@ $/LicenseInfo$ """ import md5, random, socket, string, time, re +import uuid def _int2binstr(i,l): s='' @@ -187,14 +188,8 @@ class UUID(object): from c++ implementation for portability reasons. Returns self. """ - newid = self.__class__.lastid - while newid == self.__class__.lastid: - now = long(time.time() * 1000) - newid = ("%016x" % now) + self.__class__.hexip - newid += ("%03x" % (self.__class__.rand.randrange(0,4095))) - self.__class__.lastid = newid m = md5.new() - m.update(newid) + m.update(uuid.uuid1().bytes) self._bits = m.digest() return self diff --git a/indra/llcommon/llversionserver.h b/indra/llcommon/llversionserver.h index db0e244c76..c3222898e4 100644 --- a/indra/llcommon/llversionserver.h +++ b/indra/llcommon/llversionserver.h @@ -35,7 +35,7 @@ const S32 LL_VERSION_MAJOR = 1; const S32 LL_VERSION_MINOR = 18; const S32 LL_VERSION_PATCH = 3; -const S32 LL_VERSION_BUILD = 70368; +const S32 LL_VERSION_BUILD = 71877; const char * const LL_CHANNEL = "Second Life Server"; |