v8: use correct timezone information on Solaris
authoryangguo@chromium.org <yangguo@chromium.org>
Tue, 23 Oct 2012 13:04:05 +0000 (13:04 +0000)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 23 Oct 2012 14:43:38 +0000 (16:43 +0200)
commit9fa953d3e7a864cfce4a69f47cca27d21c124672
tree89c4960bd09e8c5b04df6eddcd8ed15886397487
parent844a0058d0c6815308a0e68192df6a1d6213c68e
v8: use correct timezone information on Solaris

`timezone` variable contains the difference, in seconds, between UTC and
local standard time (see `man 3 localtime` on Solaris).

Call to `tzset` is required to apply contents of `TZ` variable to
`timezone` variable.

BUG=v8:2064

Review URL: https://chromiumcodereview.appspot.com/10967066
Patch from Maciej MaƂecki <me@mmalecki.com>.

This is a back-port of upstream commit r12802.
deps/v8/src/platform-solaris.cc