From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Time zone problem in cygwin Date: Fri, 06 Feb 2009 11:50:09 -0500 Message-ID: <498C6A41.9070809@cornell.edu> References: <498C6573.6080506@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233940602 3088 80.91.229.12 (6 Feb 2009 17:16:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 17:16:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 18:17:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LVUKw-0000Zi-EU for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2009 18:17:54 +0100 Original-Received: from localhost ([127.0.0.1]:36299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVUJd-0007sB-23 for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2009 12:16:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVTu8-0004SN-KD for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:50:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVTu7-0004S9-59 for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:50:12 -0500 Original-Received: from [199.232.76.173] (port=59503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVTu6-0004S6-Ve for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:50:10 -0500 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:47460 helo=authusersmtp.mail.cornell.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVTu5-0007gq-NE for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:50:10 -0500 Original-Received: from [128.84.234.191] (markov.math.cornell.edu [128.84.234.191]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id n16Go2x4025566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 6 Feb 2009 11:50:02 -0500 (EST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <498C6573.6080506@alice.it> X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108828 Archived-At: On 2/6/2009 11:29 AM, Angelo Graziosi wrote: > Ken Brown wrote: >> ...and the time zone is off by 4 hours > > Does it make any difference, if you build Emacs with/without this patch: > > ----------------- > diff -Naur emacs.orig/src/strftime.c emacs/src/strftime.c > --- emacs.orig/src/strftime.c 2007-01-14 04:24:37.000000000 +0100 > +++ emacs/src/strftime.c 2008-11-27 09:42:03.109375000 +0100 > @@ -54,7 +54,7 @@ > # endif > #endif > #if HAVE_TZNAME > -#ifndef USE_CRT_DLL > +#if !defined (USE_CRT_DLL) && !defined (CYGWIN) > extern char *tzname[]; > #endif > #endif > ----------------- No, I've tried it both with and without the patch, and the error occurs either way. Ken