[Freeassociation-devel] Can someone check this fix for timezone problem

Antony Bowesman adb at thorntothehorn.org
Tue Nov 1 22:25:22 PDT 2011


I raised this problem yesterday

https://sourceforge.net/tracker/?func=detail&aid=3431644&group_id=16077&atid=116077

The following appears to fix the problem, but I have no idea if it is a valid 
fix.  In icaltimezone_load_builtin_timezone, I added a check for component and 
return if set.

#ifdef HAVE_PTHREAD
     pthread_mutex_lock(&builtin_mutex);
     if (zone->component)
        goto out;
 >>>>>#else
 >>>>>#ifdef USE_BUILTIN_TZDATA
 >>>>>    if (zone->component)
 >>>>>        return;
 >>>>>#endif	
#endif




More information about the libical-devel mailing list