[Xapian-tickets] [Xapian] #303: UUID functions missing on Windows

Xapian nobody at xapian.org
Fri Oct 24 15:27:04 BST 2008


#303: UUID functions missing on Windows
-------------------------------+--------------------------------------------
 Reporter:  charliejuggler     |        Owner:  richard 
     Type:  defect             |       Status:  assigned
 Priority:  normal             |    Milestone:  1.1.0   
Component:  Backend-Flint      |      Version:  SVN HEAD
 Severity:  normal             |   Resolution:          
 Keywords:                     |    Blockedby:          
 Platform:  Microsoft Windows  |     Blocking:          
-------------------------------+--------------------------------------------

Comment(by charliejuggler):

 How about
 {{{
 void uuid_generate(uuid_t uu)
 {
     UUID uuid;
     memset(&uuid,0x00,16);
     UuidCreate(&uuid);
     memcpy(uu,&uuid,16);
 }
 }}}
 To answer an earlier comment, no, the tests don't all pass yet, but at
 least the code compiles! I'll try and look at test failures soon.

-- 
Ticket URL: <http://trac.xapian.org/ticket/303#comment:10>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list