projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
getdate.y
diff --git
a/lib/getdate.y
b/lib/getdate.y
index
fd545d6
..
3159c6d
100644
(file)
--- a/
lib/getdate.y
+++ b/
lib/getdate.y
@@
-102,12
+102,6
@@
extern struct tm *localtime();
static int yylex ();
static int yyerror ();
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)
#define EPOCH 1970
#define HOUR(x) ((time_t)(x) * 60)
#define SECSPERDAY (24L * 60L * 60L)
@@
-904,7
+898,7
@@
get_date(p, now)
if (! (tm = gmtime (&ftz.time)))
return -1;
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;
if (! (tm = localtime (&ftz.time)))
return -1;