summaryrefslogtreecommitdiff
path: root/bin/date/date.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 19:37:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 19:37:07 +0000
commit566c9c04a74af8c6a7068f1ec0bcfafd6760177a (patch)
treed47fd54cfe5037a3064329763582b0a342b36537 /bin/date/date.c
parentf25b15f6fa982b145696b8eaec5d095ae1bfe65c (diff)
duh, my mind is not crisp
Diffstat (limited to 'bin/date/date.c')
-rw-r--r--bin/date/date.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index 763a6f0c481..00ecabff90f 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: date.c,v 1.5 1997/06/23 19:34:57 deraadt Exp $ */
+/* $OpenBSD: date.c,v 1.6 1997/06/23 19:37:06 deraadt Exp $ */
/* $NetBSD: date.c,v 1.11 1995/09/07 06:21:05 jtc Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: date.c,v 1.5 1997/06/23 19:34:57 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: date.c,v 1.6 1997/06/23 19:37:06 deraadt Exp $";
#endif
#endif /* not lint */
@@ -154,6 +154,7 @@ setthetime(p)
register struct tm *lt;
struct timeval tv;
char *dot, *t;
+ int bigyear = 0;
for (t = p, dot = NULL; *t; ++t) {
if (isdigit(*t))