From 705ce81c2f87efd44fdafe973c56ce2aac0acdd9 Mon Sep 17 00:00:00 2001 From: tholo Date: Sat, 4 May 1996 07:32:22 +0000 Subject: [PATCH] Set Start from nowtime, not now->time, which may not be set --- gnu/usr.bin/cvs/lib/getdate.c | 2 +- gnu/usr.bin/cvs/lib/getdate.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/cvs/lib/getdate.c b/gnu/usr.bin/cvs/lib/getdate.c index d7b9cccf83c..a9acf1dacbc 100644 --- a/gnu/usr.bin/cvs/lib/getdate.c +++ b/gnu/usr.bin/cvs/lib/getdate.c @@ -768,7 +768,7 @@ get_date(p, now) return -1; } else { - Start = now->time; + Start = nowtime; if (!yyHaveRel) Start -= ((tm->tm_hour * 60L + tm->tm_min) * 60L) + tm->tm_sec; } diff --git a/gnu/usr.bin/cvs/lib/getdate.y b/gnu/usr.bin/cvs/lib/getdate.y index baa17315373..f538ef4237e 100644 --- a/gnu/usr.bin/cvs/lib/getdate.y +++ b/gnu/usr.bin/cvs/lib/getdate.y @@ -949,7 +949,7 @@ get_date(p, now) return -1; } else { - Start = now->time; + Start = nowtime; if (!yyHaveRel) Start -= ((tm->tm_hour * 60L + tm->tm_min) * 60L) + tm->tm_sec; } -- 2.20.1