delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/14/07:31:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 14 Oct 2004 13:32:13 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tzset et al
Message-ID: <20041014113213.GP6702@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1281843559679 DOT 20041014115057 AT familiehaase DOT de> <20041014104011 DOT GM6702 AT cygbert DOT vinschen DOT de> <661848729693 DOT 20041014131708 AT familiehaase DOT de>
Mime-Version: 1.0
In-Reply-To: <661848729693.20041014131708@familiehaase.de>
User-Agent: Mutt/1.4.2i

On Oct 14 13:17, Gerrit P. Haase wrote:
> Corinna wrote:
> > Hmm, I just tried Robert's test program on a DLL from current CVS:
> 
> > $ ./tzset.exe 
> > std:WEST
> > dst:WEDT
> 
> > and it works regardless if $TZ is set or not.  Could you debug this further?
> 
> No, I have no idea, it just don't work for me.
> 
> cygwin version: 1.5.10(0.116/4/2)

Did you try with a recent DLL?

> (gdb) break main
> Breakpoint 1 at 0x40107e: file tztest.c, line 6.
> (gdb) s
> The program is not being run.
> (gdb) run
> Starting program: /tzset/tzset.exe 
> 
> Breakpoint 1, main () at tztest.c:6
> 6         tzset();
> (gdb) s
> 7         printf("std:%s\ndst:%s\n",tzname[0],tzname[1]);
> (gdb) 
> 8         return 0;
> (gdb) 
> 9       }
> (gdb) 
> 0x61005f54 in getprogname () from /usr/bin/cygwin1.dll
> (gdb) 
> Single stepping until exit from function getprogname, 
> which has no line number information.
> 0x610d6cd0 in wmemset () from /usr/bin/cygwin1.dll

That's not helpful.  Don't you have a DLL which is not stripped?
Where you can set a breakpoint to tzset before stepping?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


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