changeset 19901:6b05cf5478ae

merge with 1.9.4g
author Jim Meyering <jim@meyering.net>
date Mon, 25 Apr 1994 18:34:37 +0000
parents aaac830e0174
children 11eb98b47071
files lib/getdate.y
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lib/getdate.y	Mon Apr 25 17:01:36 1994 +0000
+++ b/lib/getdate.y	Mon Apr 25 18:34:37 1994 +0000
@@ -102,12 +102,6 @@
 static int yylex ();
 static int yyerror ();
 
-#if	!defined(lint) && !defined(SABER)
-static char RCS[] =
-	"$Header: str2date.y,v 2.1 90/09/06 08:15:06 cronan Exp $";
-#endif	/* !defined(lint) && !defined(SABER) */
-
-
 #define EPOCH		1970
 #define HOUR(x)		((time_t)(x) * 60)
 #define SECSPERDAY	(24L * 60L * 60L)
@@ -904,7 +898,7 @@
 
 	if (! (tm = gmtime (&ftz.time)))
 	    return -1;
-	gmt = *tm;
+	gmt = *tm;	/* Make a copy, in case localtime modifies *tm.  */
 
 	if (! (tm = localtime (&ftz.time)))
 	    return -1;