[Xapian-tickets] [Xapian] #368: Xapian 1.1.0 does not compile on CentOS 4.7

Xapian nobody at xapian.org
Mon May 11 15:39:51 BST 2009


#368: Xapian 1.1.0 does not compile on CentOS 4.7
--------------------+-------------------------------------------------------
 Reporter:  tebeka  |       Owner:  olly 
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  Other   |     Version:  1.1.0
 Severity:  normal  |    Keywords:       
Blockedby:          |    Platform:  All  
 Blocking:          |  
--------------------+-------------------------------------------------------
 Due to older version of the uuid library that doesn't have
 uuid_unparse_lower.

 This patch to `common/safeuuid.h` fixed the problem:
 {{{
 #!c

 #ifndef UUID_TYPE_DCE_TIME // Old UUID
 #include <ctype.h>
 static inline void
 uuid_unparse_lower(const uuid_t uu, char *out)
 {
     char *cp;

     uuid_unparse(uu, out);
     for (cp = out; *cp; ++cp) {
         *cp = tolower(*cp);
     }
 }

 #endif
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/368>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list