From owner-freebsd-ports Fri Oct 1 6:50:12 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 493FB15A10 for ; Fri, 1 Oct 1999 06:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA65354; Fri, 1 Oct 1999 06:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from erouter0.it-datacntr.louisville.edu (erouter0.it-datacntr.louisville.edu [136.165.1.36]) by hub.freebsd.org (Postfix) with ESMTP id 2265C15488 for ; Fri, 1 Oct 1999 06:48:41 -0700 (PDT) (envelope-from k.stevenson@louisville.edu) Received: from osaka.louisville.edu (osaka.louisville.edu [136.165.1.114]) by erouter0.it-datacntr.louisville.edu (Postfix) with ESMTP id 63C9A24D03 for ; Fri, 1 Oct 1999 09:48:31 -0400 (EDT) Received: by osaka.louisville.edu (Postfix, from userid 15) id DEBB718605; Fri, 1 Oct 1999 09:48:30 -0400 (EDT) Message-Id: <19991001134830.DEBB718605@osaka.louisville.edu> Date: Fri, 1 Oct 1999 09:48:30 -0400 (EDT) From: k.stevenson@louisville.edu Reply-To: ktstev01@osaka.louisville.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14076: PATCH: Buglet in wmtz Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14076 >Category: ports >Synopsis: PATCH: wmtz has September and October reversed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 1 06:50:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Keith Stevenson >Release: FreeBSD 3.3-STABLE i386 >Organization: University of Louisville >Environment: Ports collection: cvsup'd on 10/01/1999 >Description: wmtz has October listed as month 8 and September as month 9. (Zero-indexed array) This is backwards. >How-To-Repeat: Bug exists in wmtz-0.4 >Fix: Following patch (diff -u format) seems to fix it. --- wmtz.c.original Fri Oct 1 09:39:37 1999 +++ wmtz.c Fri Oct 1 09:39:37 1999 @@ -107,8 +107,8 @@ month[0] = "JAN\0"; month[1] = "FEB\0"; month[2] = "MAR\0"; month[3] = "APR\0"; month[4] = "MAY\0"; month[5] = "JUN\0"; - month[6] = "JUL\0"; month[7] = "AUG\0"; month[8] = "OCT\0"; - month[9] = "SEP\0"; month[10] = "NOV\0"; month[11] = "DEC\0"; + month[6] = "JUL\0"; month[7] = "AUG\0"; month[8] = "SEP\0"; + month[9] = "OCT\0"; month[10] = "NOV\0"; month[11] = "DEC\0"; week_day[0] = "SUNDAY \0"; week_day[1] = "MONDAY \0"; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message