Fix for bug 333594- Evolution fails to retrieve the tzid of utc timezone, leading to a critical warning crash

Irene Huang <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
hi, Evolution maintainers

Here's the patch for bug
http://bugzilla.gnome.org/show_bug.cgi?id=333594.

Please reveiw. 

Thanks 

--Irene

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
EDS-icaltimezone-critical-warning.diff (text/x-patch, 600 B)
Index: calendar/libical/src/libical/icaltimezone.c
===================================================================
RCS file: /cvs/gnome/libical/src/libical/icaltimezone.c,v
retrieving revision 1.23
diff -u -r1.23 icaltimezone.c
--- calendar/libical/src/libical/icaltimezone.c	28 Nov 2005 03:17:39 -0000	1.23
+++ calendar/libical/src/libical/icaltimezone.c	6 Mar 2006 10:10:39 -0000
@@ -1333,7 +1333,7 @@
 	return NULL;
 
     if (!strcmp (location, "UTC"))
-	return &utc_timezone;
+	return icaltimezone_get_utc_timezone();
 
     if (!builtin_timezones)
 	icaltimezone_init_builtin_timezones ();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.