From owner-freebsd-ports Sat Jul 20 08:17:55 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA19654 for ports-outgoing; Sat, 20 Jul 1996 08:17:55 -0700 (PDT) Received: from haven.uchicago.edu (root@haven.uchicago.edu [128.135.12.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA19648; Sat, 20 Jul 1996 08:17:51 -0700 (PDT) Received: from woodlawn.uchicago.edu (root@woodlawn.uchicago.edu [128.135.12.9]) by haven.uchicago.edu (8.7.5/8.7.3) with ESMTP id KAA01115; Sat, 20 Jul 1996 10:17:07 -0500 (CDT) Received: from woodlawn.uchicago.edu (csdayton@localhost.uchicago.edu [127.0.0.1]) by woodlawn.uchicago.edu (8.7.1/8.7.2) with ESMTP id KAA24959; Sat, 20 Jul 1996 10:19:05 -0500 (CDT) Message-Id: <199607201519.KAA24959@woodlawn.uchicago.edu> To: freebsd-ports@freebsd.org, freebsd-hackers@freebsd.org Subject: One question about tm_gmtoff Reply-To: csdayton@midway.uchicago.edu Date: Sat, 20 Jul 1996 10:19:04 CDT From: Soren Dayton Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am porting mindy-1.5 which is a partial implementation of Apple's OO language Dylan. The only problem is that it is presuming that there is an extern long timezone. The SunOS manpage for ctime, tzset, etc claims that the proper way to get this information is to use the tm_gmtoff field of the tm struct. The problem I have is that they do not agree. i also get the same results (timezone on an svr4 machien in the same timezone agrees with the SunOS machine and tm_gmtoff agrees with my FreeBSD machine). (in Chicago timezone says 21600 and tm_gmtoff says -18000). So what is the relation between these two? I suspect that I need something like the svr4 value, but I am not really sure why. Does anyone have any suggestions? and if this continues on hackers could people keep me in the cc header? I am no longer on that list. thanks Soren Dayton