From owner-svn-src-all@FreeBSD.ORG Thu Aug 27 12:36:16 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EE69106564A; Thu, 27 Aug 2009 12:36:16 +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 F26708FC4F; Thu, 27 Aug 2009 12:36:15 +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 n7RCaFdh096358; Thu, 27 Aug 2009 12:36:15 GMT (envelope-from edwin@svn.freebsd.org) Received: (from edwin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n7RCaFm0096356; Thu, 27 Aug 2009 12:36:15 GMT (envelope-from edwin@svn.freebsd.org) Message-Id: <200908271236.n7RCaFm0096356@svn.freebsd.org> From: Edwin Groothuis Date: Thu, 27 Aug 2009 12:36:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r196587 - head/usr.sbin/zic X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2009 12:36:16 -0000 Author: edwin Date: Thu Aug 27 12:36:15 2009 New Revision: 196587 URL: http://svn.freebsd.org/changeset/base/196587 Log: MFV of r195794 MFV of tzcode2009k zic.c: Do not end a binary file with a POSIX-style time zone string for locations that end up in permanent DST (thanks to Andreas Schwab). Modified: head/usr.sbin/zic/ (props changed) head/usr.sbin/zic/zic.c Modified: head/usr.sbin/zic/zic.c ============================================================================== --- head/usr.sbin/zic/zic.c Thu Aug 27 12:29:23 2009 (r196586) +++ head/usr.sbin/zic/zic.c Thu Aug 27 12:36:15 2009 (r196587) @@ -3,7 +3,7 @@ ** 2006-07-17 by Arthur David Olson. */ -static const char elsieid[] = "@(#)zic.c 8.19"; +static const char elsieid[] = "@(#)zic.c 8.20"; #ifndef lint static const char rcsid[] = @@ -1892,7 +1892,7 @@ const int zonecount; if (stdrp != NULL && stdrp->r_hiyear == 2037) return; } - if (stdrp == NULL && zp->z_nrules != 0) + if (stdrp == NULL && (zp->z_nrules != 0 || zp->z_stdoff != 0)) return; abbrvar = (stdrp == NULL) ? "" : stdrp->r_abbrvar; doabbr(result, zp->z_format, abbrvar, FALSE, TRUE);