Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  1 Oct 1999 09:48:30 -0400 (EDT)
From:      k.stevenson@louisville.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14076: PATCH: Buglet in wmtz
Message-ID:  <19991001134830.DEBB718605@osaka.louisville.edu>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991001134830.DEBB718605>