comparison syscalls.c @ 58:0e7d687a2322

Get timezone offsets right.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 08 Apr 2013 23:10:25 +0930
parents 5b7d21698a80
children
comparison
equal deleted inserted replaced
57:adc9b1555f9d 58:0e7d687a2322
167 * Switch to DST 2am 1st Sunday October: -10.5 hours to UTC 167 * Switch to DST 2am 1st Sunday October: -10.5 hours to UTC
168 * 168 *
169 * Copied from http://www.sourceware.org/ml/newlib/2008/msg00311.html 169 * Copied from http://www.sourceware.org/ml/newlib/2008/msg00311.html
170 */ 170 */
171 static __tzinfo_type tzinfo = {0, 0, { 171 static __tzinfo_type tzinfo = {0, 0, {
172 {'M', 4, 5, 0, 10800, (time_t)0, -37800L }, 172 {'M', 4, 5, 0, 10800, (time_t)0, -34200L },
173 {'M', 10, 5, 0, 7200, (time_t)0, -34200L } 173 {'M', 10, 5, 0, 7200, (time_t)0, -37800L }
174 } 174 }
175 }; 175 };
176 #endif 176 #endif
177 177
178 __tzinfo_type * 178 __tzinfo_type *