On 01-07-2012 23:40, Paul Vinkenoog wrote:
>> So, all in all, our five UUID functions are all flawed on at least one type 
>> of platform. But it's not hard to get them right, with code that is even 
>> simpler than what we have now (and without the need for the '2' functions).
> 
> As for CHAR_TO_UUID and UUID_TO_CHAR: since the 16-char string and the 
> 36-char string (should) have the same order, these two functions could be 
> made dead simple by eliminating the unnecessary steps that convert it to an 
> FB_GUID struct and back again.
> 

Sure, this is what I did now.


> Do we have any idea how many people are running Firebird 2.5.x successfully 
> on big-endian platforms?

This is another question to decide about fix the function or create new
ones.


Adriano

------------------------------------------------------------------------------
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