unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ken Brown <kbrown@cornell.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Time zone problem in cygwin
Date: Fri, 06 Feb 2009 08:24:53 +0200	[thread overview]
Message-ID: <uocxgt74a.fsf@gnu.org> (raw)
In-Reply-To: <498B69FC.4090607@cornell.edu>

> Date: Thu, 05 Feb 2009 17:36:44 -0500
> From: Ken Brown <kbrown@cornell.edu>
> CC: emacs-devel@gnu.org
> 
> Breakpoint 1, synchronize_system_time_locale () at emacs.c:2429
> 2429      synchronize_locale (LC_TIME, &Vprevious_system_time_locale,
> 
> I then repeatedly pressed 's' to step through the program, and I didn't 
> see anything interesting, or anything different between emacs 22.3 and 
> emacs 23, so finally I just pressed 'c' to continue.  At this point 
> emacs displayed the result of the evaluation, and it gave the correct 
> time!  I've rechecked this several times, and emacs 23 gives the right 
> time when it's run under gdb (with or without a breakpoint), and the 
> wrong time otherwise.  Do you have any idea what could be going on?

Sorry, I don't know enough about newlib (the standard C library used
by Cygwin) to tell.  Could you perhaps describe your observations,
including the one that setting TZ solves the problem even outside GDB,
on the Cygwin mailing list and ask the gurus there for advice or
hints?  A thorough description of how Cygwin handles Windows time
zones would probably also help.

Thank you for working on this.




  reply	other threads:[~2009-02-06  6:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 14:47 Time zone problem in cygwin Ken Brown
2009-02-05 20:38 ` Eli Zaretskii
2009-02-05 22:36   ` Ken Brown
2009-02-06  6:24     ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06 16:29 Angelo Graziosi
2009-02-06 16:50 ` Ken Brown
2009-02-06 17:40 ` Ken Brown

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uocxgt74a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kbrown@cornell.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.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).