From b8dce3698624f02a90d3120a57c399d141e00fc2 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 31 Mar 2009 18:48:16 +0000 Subject: Avoid hardcoded "too large" constant that caused FPE on the vax. XXX: Should pullup to 5.0 --- trek/setup.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'trek/setup.c') diff --git a/trek/setup.c b/trek/setup.c index cd43ebbe..3a9f93f2 100644 --- a/trek/setup.c +++ b/trek/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.9 2008/11/14 21:10:44 christos Exp $ */ +/* $NetBSD: setup.c,v 1.10 2009/03/31 18:48:16 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: setup.c,v 1.9 2008/11/14 21:10:44 christos Exp $"); +__RCSID("$NetBSD: setup.c,v 1.10 2009/03/31 18:48:16 christos Exp $"); #endif #endif /* not lint */ @@ -44,6 +44,7 @@ __RCSID("$NetBSD: setup.c,v 1.9 2008/11/14 21:10:44 christos Exp $"); #include #include #include +#include #include "trek.h" #include "getpar.h" @@ -211,7 +212,7 @@ setup() for (i = 0; i < MAXEVENTS; i++) { e = &Event[i]; - e->date = 1e50; + e->date = TOOLARGE; e->evcode = 0; } xsched(E_SNOVA, 1, 0, 0, 0); -- cgit v1.2.3