Re: glib2 GDateTime API tests fail on Mac OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-10-28 at 14:16, Larry Baker wrote:
> >          /* we only bother to support version 2 */
> >          if (size < sizeof (struct tzhead) || memcmp (header,
> >"TZif2", 5))
> 
> The zoneinfo files on my Mac (10.5.8) are TZif format:
> 
> >$ hexdump -C /etc/localtime
> >00000000  54 5a 69 66 00 00 00 00  00 00 00 00 00 00 00 00  |TZif............|
> 
> 
> Bad.  I think glib should test this in configure and disable all the
> GDateTime APIs rather than silently fail at run time.

no, GLib does not work this way; if something is not supported then we
either support it or we hard-require it.

in this case, we'd gladly accept patches to support the TZif format as a
fallback.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux