From owner-svn-src-vendor@FreeBSD.ORG Thu Sep 9 07:48:02 2010 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E22EB10656BC; Thu, 9 Sep 2010 07:48:01 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D146D8FC16; Thu, 9 Sep 2010 07:48:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o897m1T6048496; Thu, 9 Sep 2010 07:48:01 GMT (envelope-from edwin@svn.freebsd.org) Received: (from edwin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o897m18J048492; Thu, 9 Sep 2010 07:48:01 GMT (envelope-from edwin@svn.freebsd.org) Message-Id: <201009090748.o897m18J048492@svn.freebsd.org> From: Edwin Groothuis Date: Thu, 9 Sep 2010 07:48:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212353 - in vendor/tzcode/dist: libc/stdtime unused zic X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 07:48:02 -0000 Author: edwin Date: Thu Sep 9 07:48:01 2010 New Revision: 212353 URL: http://svn.freebsd.org/changeset/base/212353 Log: Vendor import of tzcode2010l Modified: vendor/tzcode/dist/libc/stdtime/localtime.c vendor/tzcode/dist/unused/tz-link.htm vendor/tzcode/dist/zic/zdump.c Modified: vendor/tzcode/dist/libc/stdtime/localtime.c ============================================================================== --- vendor/tzcode/dist/libc/stdtime/localtime.c Thu Sep 9 06:44:22 2010 (r212352) +++ vendor/tzcode/dist/libc/stdtime/localtime.c Thu Sep 9 07:48:01 2010 (r212353) @@ -5,7 +5,7 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)localtime.c 8.13"; +static char elsieid[] = "@(#)localtime.c 8.14"; #endif /* !defined NOID */ #endif /* !defined lint */ @@ -274,34 +274,28 @@ settzname(void) return; } #endif /* defined ALL_STATE */ - for (i = 0; i < sp->typecnt; ++i) { - register const struct ttinfo * const ttisp = &sp->ttis[i]; + /* + ** And to get the latest zone names into tzname. . . + */ + for (i = 0; i < sp->timecnt; ++i) { + register const struct ttinfo * const ttisp = + &sp->ttis[ + sp->types[i]]; tzname[ttisp->tt_isdst] = &sp->chars[ttisp->tt_abbrind]; #ifdef USG_COMPAT if (ttisp->tt_isdst) daylight = 1; - if (i == 0 || !ttisp->tt_isdst) + if (!ttisp->tt_isdst) timezone = -(ttisp->tt_gmtoff); #endif /* defined USG_COMPAT */ #ifdef ALTZONE - if (i == 0 || ttisp->tt_isdst) + if (ttisp->tt_isdst) altzone = -(ttisp->tt_gmtoff); #endif /* defined ALTZONE */ } /* - ** And to get the latest zone names into tzname. . . - */ - for (i = 0; i < sp->timecnt; ++i) { - register const struct ttinfo * const ttisp = - &sp->ttis[ - sp->types[i]]; - - tzname[ttisp->tt_isdst] = - &sp->chars[ttisp->tt_abbrind]; - } - /* ** Finally, scrub the abbreviations. ** First, replace bogus characters. */ Modified: vendor/tzcode/dist/unused/tz-link.htm ============================================================================== --- vendor/tzcode/dist/unused/tz-link.htm Thu Sep 9 06:44:22 2010 (r212352) +++ vendor/tzcode/dist/unused/tz-link.htm Thu Sep 9 07:48:01 2010 (r212353) @@ -18,7 +18,7 @@

Sources for Time Zone and Daylight Saving Time Data

-@(#)tz-link.htm 8.26 +@(#)tz-link.htm 8.30

This file is in the public domain, so clarified as of @@ -89,6 +89,8 @@ the code is in the file tzcodeC is the code's version; similarly, the data are in tzdataD.tar.gz, where D is the data's version. +Each version is a four-digit year followed by lower-case letters +(a through z, then za through zz, then zza through zzz, and so on). The following shell commands download these files to a GNU/Linux or similar host; @@ -349,6 +351,17 @@ href="http://unicode.org/cldr/data/diff/ → Tzid table maintained by the CLDR data mentioned below. +

  • + +http://code.google.com/p/tzdata/ + +provides programming-language-specific representations of timezone +data. Currently this includes XML, PHP, Ruby, Javascript, JSON and CSV +formatted data. The repository is updated as soon as the FTP +distribution is updated. All data can be downloaded as a zip and/or it +can be obtained/synced via anonymous SVN. Data is made available under +the MIT license. (From Rich Tibbett.) +
  • Maps

      Modified: vendor/tzcode/dist/zic/zdump.c ============================================================================== --- vendor/tzcode/dist/zic/zdump.c Thu Sep 9 06:44:22 2010 (r212352) +++ vendor/tzcode/dist/zic/zdump.c Thu Sep 9 07:48:01 2010 (r212353) @@ -238,7 +238,7 @@ const char * const zone; static void usage(stream, status) FILE * const stream; -const int status +const int status; { (void) fprintf(stream, _("%s: usage is %s [ --version ] [ --help ] [ -v ] [ -c [loyear,]hiyear ] zonename ...\n\ From owner-svn-src-vendor@FreeBSD.ORG Thu Sep 9 07:48:57 2010 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2088C10656D0; Thu, 9 Sep 2010 07:48:57 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EA4C78FC08; Thu, 9 Sep 2010 07:48:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o897muH7048618; Thu, 9 Sep 2010 07:48:56 GMT (envelope-from edwin@svn.freebsd.org) Received: (from edwin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o897muI3048617; Thu, 9 Sep 2010 07:48:56 GMT (envelope-from edwin@svn.freebsd.org) Message-Id: <201009090748.o897muI3048617@svn.freebsd.org> From: Edwin Groothuis Date: Thu, 9 Sep 2010 07:48:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212354 - vendor/tzcode/tzcode2010l X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 07:48:57 -0000 Author: edwin Date: Thu Sep 9 07:48:56 2010 New Revision: 212354 URL: http://svn.freebsd.org/changeset/base/212354 Log: Tag of tzcode2010l Added: vendor/tzcode/tzcode2010l/ - copied from r212353, vendor/tzcode/dist/