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:[EMAIL PROTECTED] 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/