* Fix some syscall definitions in JavaScript are fixed. Thank you, tho@. Changelog: FIXED 27.0.1 - Fixed stability issues with Greasemonkey and other JS that used ClearTimeoutOrInterval FIXED 27.0.1 - JS math correctness issue (bug 941381
15 lines
696 B
C++
15 lines
696 B
C++
$NetBSD: patch-ipc_chromium_src_base_time__posix.cc,v 1.3 2014/02/20 13:19:03 ryoon Exp $
|
|
|
|
--- ipc/chromium/src/base/time_posix.cc.orig 2013-05-11 19:19:32.000000000 +0000
|
|
+++ ipc/chromium/src/base/time_posix.cc
|
|
@@ -65,8 +65,10 @@ Time Time::FromExploded(bool is_local, c
|
|
timestruct.tm_wday = exploded.day_of_week; // mktime/timegm ignore this
|
|
timestruct.tm_yday = 0; // mktime/timegm ignore this
|
|
timestruct.tm_isdst = -1; // attempt to figure it out
|
|
+#ifndef OS_SOLARIS
|
|
timestruct.tm_gmtoff = 0; // not a POSIX field, so mktime/timegm ignore
|
|
timestruct.tm_zone = NULL; // not a POSIX field, so mktime/timegm ignore
|
|
+#endif
|
|
|
|
time_t seconds;
|
|
#ifdef ANDROID
|