From 5a3a9396e43b93ed01f8bb21e3561836c9d6f2e6 Mon Sep 17 00:00:00 2001
From: zbigniew <zbigniewsz@gmail.com>
Date: Mon, 19 Jul 2010 12:04:14 -0500
Subject: [PATCH] C_decode_seconds should report zero timezone offset for UTC
---
runtime.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime.c b/runtime.c
index 4540c84..55eb2e8 100644
a
|
b
|
void C_ccall C_decode_seconds(C_word c, C_word closure, C_word k, C_word secs, C |
7743 | 7743 | /* negative for west of UTC, but we want positive */ |
7744 | 7744 | C_fix(-tmt->tm_gmtoff) |
7745 | 7745 | #elif defined(__CYGWIN__) || defined(__MINGW32__) || defined(_WIN32) || defined(__WINNT__) |
7746 | | C_fix(_timezone) |
| 7746 | C_fix(mode == C_SCHEME_FALSE ? _timezone : 0) |
7747 | 7747 | #else |
7748 | | C_fix(timezone) |
| 7748 | C_fix(mode == C_SCHEME_FALSE ? timezone : 0) |
7749 | 7749 | #endif |
7750 | 7750 | ); |
7751 | 7751 | C_kontinue(k, info); |