X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <498C685C.4040901@cornell.edu> Date: Fri, 06 Feb 2009 11:42:04 -0500 From: Ken Brown User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Eli Zaretskii Subject: Debugging a time zone problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I've built emacs 23 under both cygwin 1.5 and 1.7, and it runs fine for me except for a glitch involving time zones: Emacs gets the local time zone wrong by 4 hours. I've reported this to the emacs-devel list [1], and the developer who responded asked me to try to get some advice on this list. Here are two facts that might provide clues: 1. The problem disappears if I set the environment variable TZ before starting emacs. 2. The problem disappears if I run emacs under gdb. [This, of course, makes debugging difficult.] I would appreciate any advice or hints as to how I (and the emacs developers) might track this down. Also, the developers would find it useful to have a description of how cygwin handles Windows time zones. Thanks in advance for any suggestions. Ken [1] http://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00305.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/