Farid Zaripov wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor
Sent: Tuesday, July 03, 2007 7:38 AM
To: stdcxx-dev@incubator.apache.org
Subject: Re: STDCXX examples fails and reasons [MSVC]

I have updated the windows build infrastructure to set TZ environment variable before run examples. The proposed
similar changes
in unix infrastructure below, but I'm not sure that is correct:
Why not? :)

  Because in windows infrastructure the TZ environment variable is set
for all examples only, but my patch in unix infrastructure sets TZ
variable for tests also.

Hmm. I don't suppose it should matter (our tests shouldn't be relying
on the variable being set to any specific value), but I see what you
mean. Is there a way to set the variable just for examples?

Martin


If you're not sure it's portable check out the TZ section in POSIX:
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html

Any of MST7, MST07, MST+7, and MST+07 should work. If it works on the platforms you have access to (Linux and HP-UX) I say check it in and keep an eye out on failures for a few days to make sure it works everywhere else.

Farid.


Reply via email to