Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 02:33:46 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        William Bloom <wbloom@eldocomp.com>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: Evolution Message Summary View
Message-ID:  <1061966026.85815.22.camel@shumai.marcuscom.com>
In-Reply-To: <1061961341.64207.13.camel@dell652.ecinet.com>
References:  <1061961341.64207.13.camel@dell652.ecinet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-1wd6BVDCRIPFkENzr+0X
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2003-08-27 at 01:15, William Bloom wrote:
> I finally tracked the timezone offset shifting problem down to
> icaltime.c  I am working with version 1.4.4 sources. The problem is as
> follows...
>=20
> When the summary view is selected (sometimes other views as well, I
> suspect) some steps are done that require temporarily setting the
> timezone to UTC.  So set_tz() is called to change the TZ environment
> variable to "TZ=3DUTC" using setenv(), then unset_tz() is called to put
> the TZ environment variable back the way it was afterward.  Now, in
> FreeBSD, the TZ environment variable usually doesn't exist because
> tzset() typically just works from /etc/localtime.  In this case,
> unset_tz() is supposed to simply remove TZ from the environment.  It
> does this using putenv("TZ") (SVR4 convention?).  However, this has no
> effect in FreeBSD (the FreeBSD-ish technique for deleting an
> environment variable is unsetenv("TZ")).  So when the (usual) case
> arises of there being no TZ environment variable when Evolution is
> started in FreeBSD, then TZ=3DUTC ends up being inserted into the
> environment whenever certain views are selected and is never deleted
> afterward.
>=20
> The solution (untested anywhere but on my FreeBSD desktop) seems to be
> to change putenv("TZ") to unsetenv("TZ") in...
>=20
>     libical/src/libical/icaltime.c
>=20
> According to man pages, this is valid for Linux as well as FreeBSD
> although I notice that early Solaris systems lack unsetenv().  I don't
> have a recent vintage Solaris system to check.
>=20
> Or an easy workaround would be to simply add TZ to the environment
> before running Evolution.

Funny you should mention this.  I already have patches, and I will be
testing them soon.  Look for an Evo update sometime in a few hours.

Joe

>=20
>=20
> Bill
>=20
> On Sun, 2003-08-24 at 22:11, Joe Marcus Clarke wrote:
> > On Sun, 2003-08-24 at 18:33, William Bloom wrote:
> > > I've just installed the Evolution 1.4.4 port and I'm generally
> > pleased,
> > > with reservations.  I've encountered the inbox permission problem
> > > reported in other posts to freebsd-questions, but also I've noticed
> > that
> > > there seems to be a date/time formatting problem in the message
> > summary
> > > view that's not been mentioned in earlier posts.  For that matter,
> > I've
> > > seen nothing referencing this problem in the issue list at
> > > http://developer.ximian.org/projects/evolution.  The symptom is that =
a
> > > message's date/time is shown as expected when the view is first
> > > displayed after Evolution startup.  But if -any- other view is
> > displayed
> > > (i.e. Summary), then on return to the message summary the date/times
> > all
> > > are evidently displayed with a UTC time offset (0) instead of the
> > > correct one.  Once this occurs, the date/time never returns to the
> > > current offset until Evolution is stopped and restarted.  Has anyone
> > > else seen this as well, or know a workaround?
> >=20
> > Ah, that's the catalyst.  There have been numerous reports of this
> > problem, but I was never able to reproduce it.  Switching views is the
> > catalyst.  I suspect this is not a FreeBSD bug, but now that I have a
> > definite catalyst, I will take this to the Ximian people, and see what
> > they have to say.
> >=20
> > Joe
> >=20
> > >=20
> > > Bill
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-1wd6BVDCRIPFkENzr+0X
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/TFDKb2iPiv4Uz4cRAub3AJ9xUDmj2Pz0CzEYgcjgC40rgIbeqgCffYQ3
N2ReimH4zKQdnnGR5ycFlHY=
=35Ac
-----END PGP SIGNATURE-----

--=-1wd6BVDCRIPFkENzr+0X--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1061966026.85815.22.camel>