Re: libegg/recentchooser
- From: James Henstridge <james jamesh id au>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: libegg/recentchooser
- Date: Wed, 30 Nov 2005 11:23:40 +0800
Emmanuele Bassi wrote:
>Hi,
>
>On Tue, 2005-11-29 at 14:56 -0500, Morten Welinder wrote:
>
>
>>That code also needs to be run through Valgrind or Purify.
>>egg_recent_chooser_item_activated_cb, for example, seems to have
>>a double free.
>>
>>
>
>I'll check it out ASAP.
>
>I'm not that good with Valgrind, so any help there would be much
>appreciated. :-)
>
>
>
>>timestamp_from_iso8601 manipulates the environment in a way that
>>does not look po[r]table. (And it's not that hard to do using
>>mktime-in-any-timezone, basic arithmetic, or GDate.)
>>
>>
>
>Uhm, I'll put that code under #idef G_OS_UNIX/#endif guards for the time
>being, but the getenv("TZ")/setenv("TZ") timezone trick should work on
>any sufficiently recent POSIX-like system; users of other operating
>systems might just drop me an email.
>
>We could just define a GDate function for this date transformation, by
>the way, since every project that has to deal with ISO8601 dates might
>eventually benefit of this code.
>
>
There is an ISO8601 date parser in libsoup that might be worth looking
at. If you just want an mktime() equivalent that handles UTC, see
soup_mktime_utc().
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]