aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1998-07-26 16:49:20 +0000
committerWarner Losh <imp@FreeBSD.org>1998-07-26 16:49:20 +0000
commitfa43bfe289b6f3dad432fe509bcf004aadcb4be4 (patch)
treef9f782c9e10ae37c18cdaa879a866d6dae4063b0
parenta65adfc05cfb0811b668e65b758b9c214386ef5b (diff)
Notes
-rw-r--r--games/adventure/wizard.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/games/adventure/wizard.c b/games/adventure/wizard.c
index 666e0f09674bf..17eedb15af78d 100644
--- a/games/adventure/wizard.c
+++ b/games/adventure/wizard.c
@@ -57,8 +57,6 @@ int *d,*t;
time(&tvec);
tptr=localtime(&tvec);
*d=tptr->tm_yday+365*(tptr->tm_year-77); /* day since 1977 (mod leap) */
- /* bug: this will overflow in the year 2066 AD */
- /* it will be attributed to Wm the C's millenial celebration */
*t=tptr->tm_hour*60+tptr->tm_min; /* and minutes since midnite */
} /* pretty painless */