Message310190
typo here:
So, I think the AMD64 FreeBSD 10.x Shared 3.x uuid_create() function is wrong (if that is what it is using - was it/can it also use the uuid_generate* routines?
i.e., does AMD FreeBSD use uuid_create() or uuid_generate() - or can it use both?
Could someone with AMD try:
Modules/_uuidmodule.c
+12 static PyObject *
+13 py_uuid_generate_time_safe(void)
+14 {
+15 uuid_t uuid;
+16 #ifdef HAVE_UUID_GENERATE_TIME_SAFE
+17 int res;
+18
+19 res = uuid_generate_time_safe(uuid);
+20 return Py_BuildValue("y#i", (const char *) uuid, sizeof(uuid), res);
+21 #elif HAVE_UUID_GENERATE_TIME
+22 uuid_generate_time(uuid);
+23 return Py_BuildValue("y#O", (const char *) uuid, sizeof(uuid), Py_None);
+24 #elif HAVE_UUID_CREATE
+25 uint32_t status;
+26 uuid_create(&uuid, &status);
+27 return Py_BuildValue("y#i", (const char *) &uuid, sizeof(uuid), (int) status);
+28 #else
+29 #error "no uuid library function available"
+30 #endif
+31 } |
|
Date |
User |
Action |
Args |
2018-01-17 15:32:24 | Michael.Felt | set | recipients:
+ Michael.Felt, pitrou, vstinner, koobs, David Carlier, devnexen |
2018-01-17 15:32:24 | Michael.Felt | set | messageid: <1516203144.39.0.467229070634.issue32493@psf.upfronthosting.co.za> |
2018-01-17 15:32:24 | Michael.Felt | link | issue32493 messages |
2018-01-17 15:32:24 | Michael.Felt | create | |
|