zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: "C. v. Stuckrad" <stucki@math.fu-berlin.de>, rene@math.fu-berlin.de
Cc: Zsh workers list <zsh-workers@math.gatech.edu>
Subject: Re: Possible Bug / strange behaviour / Version 3.0.2 Solaris 2.4
Date: Thu, 24 Jul 1997 18:44:35 +0400 (MSD)	[thread overview]
Message-ID: <Pine.SV4.3.95.970724181623.22407C-100000@itsrm1> (raw)
In-Reply-To: <Pine.GSO.3.95q.970724133651.3672B-100000@petzval>

On Thu, 24 Jul 1997, C. v. Stuckrad wrote:

> 
> As this does NOT happen under LINUX and NOT under SunOS
> it might be something spuriously depending on the OS and on the
> ZSH-Version but we found it extremely strange:
> 
> In Solaris 2.4 (compiled with gcc 2.7.2) the zsh 3.0.2
> switches the time depending on 'how the TZ-variable was created'
> 
> - If exported directly, or exported and a command follows
>   the shown value of '%*' changes.
> - If just set, or 'exported by just exporting the variable and no command
>   on the line' the time stays correct!
> 
> Any ideas?

It smells like a OS bug. I can reproduce it as well (probably, because my
system also originates in SVR4 ;-) This happens (in my OS at least) under
very special cases. I can describe it, if you are interested. It has
nothing to do with ZSH - I can send you small test program which shows
this problem. 

As for your description - untill TZ is exported, time functions, which are
used by ZSH, just don't see it and use some fallback value (UTC in our
case -- obviously MET in your case). If you export empty TZ - it is the
same, as unset it. As soon as TZ is exported, it triggers this bug.

Just interseted: on my system exporting full TZ specification  is buggy,
but exporting just "TZ=CET-1CEST-2,M3.5.0/02:00:00" works fine. 

OTOH who needs to change TZ on the fly ;-}

greetings

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------



      reply	other threads:[~1997-07-24 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-24 11:48 C. v. Stuckrad
1997-07-24 14:44 ` Andrej Borsenkow [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SV4.3.95.970724181623.22407C-100000@itsrm1 \
    --to=borsenkow.msk@sni.de \
    --cc=rene@math.fu-berlin.de \
    --cc=stucki@math.fu-berlin.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).