This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mar 1 21:15, Christian Franke wrote:TZ environment variable is set by default since base-files 4.0.7.
Unfortunately this breaks the time() calculation for all non-Cygwin programs run from Cygwin if Microsoft C runtime (mscrt*.dll) is used. MS CRT evaluates TZ but supports only a very old syntax subset. IIRC this is the case since VS1.x (DOS/Win16) and did not change since at least VS10.I'm sorry, but I really don't care enough. If that's a problem, then just unset TZ in your environment before calling non-Cygwin tools, no?
But, as usual, PTC.
Simple: Unset TZ for Win32 programs run from Cygwin.
More flexible: Set (unset) TZ=CYGWIN_WINENV_TZ if this variable is set (to empty). Otherwise keep TZ as is.
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |