delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/09/14:02:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:references:from:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=ITeEK
X9xbnaG8AhkVeaKIR8VelO7uERH0g6FXCBFA8xJNXIkBhxbMC9sKzdzjpk09b/qZ
DYIZz80SQlHj2rsTgp+rKpU3+5DeQBF0H4j/hOXbBYrMDlBqhHC0rnmY02RCbv84
dab3SZD3RUc7wWH1H/pvIrt90NgtZ/psngKnII=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:subject:references:from:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=YyShhctL4Aq
RlYzq4/yNvhkoQVs=; b=h8NN45tb5IU82jiT+n6vu1exfr8hExYCfGfogpOCXtE
ijCERhSch1viGCRG6tu6QXxXR4RXyRRRchQMSWM9w6HVgdZJCWcWVkSTMkeM4hIE
paCTJwAwiRGFaGWbnpisNGXUHYCDlxvHJIcE4WSjscGOhwzVjc3B9QCLBG/7Stzg
=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nougat.ucs.ed.ac.uk
To: cygwin AT cygwin DOT com
Subject: Re: 64-bit Heimdal/Cygwin, clock, daylight savings conundrum
References: <f5ba9bu28gl DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <f5b61mi26vd DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <20140409101004 DOT GO2437 AT calimero DOT vinschen DOT de> <f5b1tx621j0 DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk>
From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson)
Date: Wed, 09 Apr 2014 19:02:18 +0100
In-Reply-To: <f5b1tx621j0.fsf@troutbeck.inf.ed.ac.uk> (Henry S. Thompson's message of "Wed\, 09 Apr 2014 12\:19\:31 +0100")
Message-ID: <f5bsipmxtxx.fsf@troutbeck.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b33 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-IsSubscribed: yes

ht writes:

> Corinna Vinschen writes:
>
>> On Apr  9 10:24, Henry S. Thompson wrote:
>>> [Clock behaving oddly/differently]
>>> Has something changed with system clock vs. hardware clock between 32-
>>> and 64-bit cygwin?  Or am I looking in the wrong place altogether?
>>
>> Hmm, maybe.  Apart from time_t being 64 bit (32 bit on i686), the
>> code for time handling is identical.  What's your $TZ set to?
>
> Europe/London in both cases.
>
> It occurs to me to check the Heimdal code to see if anything changed
> to enable 64-bit compilation. . .

Nah, much simpler than that :-( Four hours later, after abandoning the
attempt to compile heimdal from cygport and installing
heimdal-debuginfo, another hour of work with gdb establishes that by
default heimdal caches config info in a file in /tmp
(e.g. /tmp/krb5cc_1001) and despite a comment in the code which says
"We always try to remove the file", they don't.  And the cache
includes the offset of clock time from UTC.  So a cache which
persists over a change in, say DST, will be wrong wrt that!

Sigh.

Another time, I'll try to figure out why the cache isn't being deleted
-- _that_ might actually be a cygwin version issue.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019