From 3f165a4027182c99afaf4a884f3d4c0f49f0611d Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sun, 15 Mar 1998 20:46:22 +0000 Subject: [PATCH] Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that. --- server/db.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/db.c b/server/db.c index 327a9355a..445def021 100644 --- a/server/db.c +++ b/server/db.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: db.c,v 1.17 1997/12/02 07:44:56 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: db.c,v 1.18 1998/03/15 20:46:22 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -70,6 +70,9 @@ int write_lease (lease) ++errors; } + /* Note: the following is not a Y2K bug - it's a Y1.9K bug. Until + somebody invents a time machine, I think we can safely disregard + it. */ t = gmtime (&lease -> starts); sprintf (tbuf, "%d %d/%02d/%02d %02d:%02d:%02d;", t -> tm_wday, t -> tm_year + 1900, -- 2.47.3