From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 00:21:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01A6B16A4BF for ; Wed, 27 Aug 2003 00:21:42 -0700 (PDT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CFBB43FE0 for ; Wed, 27 Aug 2003 00:21:38 -0700 (PDT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id h7R7KrcC054395; Wed, 27 Aug 2003 17:20:55 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Wed, 27 Aug 2003 17:24:00 +1000 Received: from [10.0.17.42] (mjtdev1.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id 586813F37; Wed, 27 Aug 2003 17:20:50 +1000 (EST) From: Murray Taylor To: Joe Marcus Clarke In-Reply-To: <1061966026.85815.22.camel@shumai.marcuscom.com> References: <1061961341.64207.13.camel@dell652.ecinet.com> <1061966026.85815.22.camel@shumai.marcuscom.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1061968849.30572.206.camel@mjtdev1.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 27 Aug 2003 07:20:50 +0000 Content-Transfer-Encoding: 7bit cc: "Chad R. Larson" cc: FreeBSD User Questions List cc: William Bloom Subject: Re: Evolution Message Summary View X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 07:21:42 -0000 I hadnt found the catalyst either .. but it also affects the sent time that Evo puts on outbound emails... HTH also. mjt On Wed, 2003-08-27 at 06:33, Joe Marcus Clarke wrote: > 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... > > > > 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=UTC" 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=UTC ends up being inserted into the > > environment whenever certain views are selected and is never deleted > > afterward. > > > > The solution (untested anywhere but on my FreeBSD desktop) seems to be > > to change putenv("TZ") to unsetenv("TZ") in... > > > > libical/src/libical/icaltime.c > > > > 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. > > > > 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 > > > > > > > Bill > > > > 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? > > > > > > 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. > > > > > > Joe > > > > > > > > > > > Bill -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ This Email has been scanned for Viruses by MailMarshal. ************************************************************************