This is the mail archive of the
mailing list for the Cygwin project.
Re: tzset et al
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,tzname);
> 8 return 0;
> 9 }
> 0x61005f54 in getprogname () from /usr/bin/cygwin1.dll
> 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 Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html