bin/84993: gcc4.x cleanup of usr.bin/tar

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Aug 16 15:00:30 GMT 2005


>Number:         84993
>Category:       bin
>Synopsis:       gcc4.x cleanup of usr.bin/tar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 16 15:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list