Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 14 Oct 2004 14:27:23 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere Message-ID: <1611852945585.20041014142723@familiehaase.de> To: Corinna Vinschen CC: sablevm-devel AT sablevm DOT org Subject: Re: tzset et al In-Reply-To: <20041014113213.GP6702@cygbert.vinschen.de> References: <1281843559679 DOT 20041014115057 AT familiehaase DOT de> <20041014104011 DOT GM6702 AT cygbert DOT vinschen DOT de> <661848729693 DOT 20041014131708 AT familiehaase DOT de> <20041014113213 DOT GP6702 AT cygbert DOT vinschen DOT de> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Corinna wrote: > 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? 1.5.11. > That's not helpful. Don't you have a DLL which is not stripped? No, isn't available for download... And I have no time to build cygwin now. It works ok at my NT4 server, it doesn't work at my W2K workstation and it doesn't work at my XP notebook. The difference is that I have defined TZ in the environment at this NT4 box and here not. It also works here when I export TZ=... It seems that I need TZ to be defined. SableVM specific: The actual problem is that I get errors when compiling sablevm classpath because of an undeclard identifier, time.h and sys/time.h are included and tzname and timezone should be defined, however I'm getting an error. Now I see that there is -ansi at the commandline and that is the problem, tzname et al is guarded with !__STRICT_ANSI__ in time.h and therefore it is not defined. Is tzname and timezone not ANSI? Why is it used in sablevm then? Or is the Cygwin time.h wrong about this? > Where you can set a breakpoint to tzset before stepping? I need a debug version of cygwin1.dll. Gerrit -- =^..^= http://nyckelpiga.de/donate.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/