I wrote:

> - Fix GEN_UUID by making GenerateGuid() return the time-high-and-version word 
> in network order. That's all it takes!

On second thought, it's probably better to do the host-to-network conversion in 
evlGenUuid(). After all, GenerateGuid() fills an FB_GUID. This is a C struct 
which is only used internally and contains integer-type fields. It's natural 
that they should be stored in host order.

Of course, this would mean that GuidToString() and StringToGuid() must also be 
altered (for the field guid->data[3], which contains the 7th and 8th bytes). 
And possibly other functions?


Paul Vinkenoog

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to