From xdivac02@stud.fit.vutbr.cz  Tue Aug 16 14:53:18 2005
Return-Path: <xdivac02@stud.fit.vutbr.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2BAB416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Aug 2005 14:53:18 +0000 (GMT)
	(envelope-from xdivac02@stud.fit.vutbr.cz)
Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 90F2C43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Aug 2005 14:53:17 +0000 (GMT)
	(envelope-from xdivac02@stud.fit.vutbr.cz)
Received: from eva.fit.vutbr.cz (localhost [127.0.0.1])
	by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.4/8.13.3) with ESMTP id j7GErE4F015206
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Aug 2005 16:53:14 +0200 (CEST)
Received: (from xdivac02@localhost)
	by eva.fit.vutbr.cz (8.13.4/8.13.3/Submit) id j7GErEH9015205;
	Tue, 16 Aug 2005 16:53:14 +0200 (CEST)
Message-Id: <200508161453.j7GErEH9015205@eva.fit.vutbr.cz>
Date: Tue, 16 Aug 2005 16:53:14 +0200 (CEST)
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Reply-To: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gcc4.x cleanup of usr.bin/tar
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84993
>Category:       bin
>Synopsis:       gcc4.x cleanup of usr.bin/tar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kientzle
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 16 15:00:27 GMT 2005
>Closed-Date:    Sun Jul 30 06:35:43 GMT 2006
>Last-Modified:  Sun Jul 30 06:35:43 GMT 2006
>Originator:     Divacky Roman
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
home
>Environment:
FreeBSD witten 7.0-CURRENT FreeBSD 7.0-CURRENT #55: Tue Aug 16 12:59:09 CEST
2005     root@witten:/usr/obj/usr/src/sys/NEOLOGISM  i386


	
>Description:
gcc4.x (tested with gcc41) cleanup of usr.bin/tar
>How-To-Repeat:
apply the patch
>Fix:

Index: getdate.y
===================================================================
RCS file: /home/ncvs/src/usr.bin/tar/getdate.y,v
retrieving revision 1.4
diff -u -r1.4 getdate.y
--- getdate.y	23 Apr 2005 18:38:32 -0000	1.4
+++ getdate.y	11 Aug 2005 13:32:44 -0000
@@ -717,6 +717,7 @@
 	time_t		nowtime;
 	long		tzone;
 
+	bzero (&gmt, sizeof(struct tm));
 	yyInput = p;
 
 	(void)time (&nowtime);
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kientzle 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Sat Aug 20 11:23:03 GMT 2005 
Responsible-Changed-Why:  
For author's review. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84993 
State-Changed-From-To: open->closed 
State-Changed-By: kientzle 
State-Changed-When: Sun Jul 30 06:34:53 UTC 2006 
State-Changed-Why:  
Fix MFCed to 6-stable: 2006-07-30 06:32:14 UTC 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84993 
>Unformatted:
