diff -up gnome-panel-2.22.1.2/applets/clock/system-timezone.c.timezone-debug gnome-panel-2.22.1.2/applets/clock/system-timezone.c
--- gnome-panel-2.22.1.2/applets/clock/system-timezone.c.timezone-debug 2008-04-22 20:17:15.000000000 -0400
+++ gnome-panel-2.22.1.2/applets/clock/system-timezone.c 2008-04-23 10:05:34.000000000 -0400
@@ -863,7 +863,7 @@ system_timezone_is_zone_file_valid (cons
return FALSE;
}
- if (read != 4 || strcmp (buffer, TZ_MAGIC) != 0) {
+ if (read != strlen (TZ_MAGIC) || strncmp (buffer, TZ_MAGIC, strlen (TZ_MAGIC)) != 0) {
g_set_error (error, SYSTEM_TIMEZONE_ERROR,
SYSTEM_TIMEZONE_ERROR_INVALID_TIMEZONE_FILE,
"%s is not a timezone file",