From a1e461a7fdc7aba6421a72fcbe691a565bcebadb Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 15 Sep 1996 09:13:18 +0000 Subject: [PATCH] enlarge buffer --- usr.sbin/cron/database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/cron/database.c b/usr.sbin/cron/database.c index 8c3ad734a63..6831c744413 100644 --- a/usr.sbin/cron/database.c +++ b/usr.sbin/cron/database.c @@ -16,7 +16,7 @@ */ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$Id: database.c,v 1.1.1.1 1995/10/18 08:47:30 deraadt Exp $"; +static char rcsid[] = "$Id: database.c,v 1.2 1996/09/15 09:13:18 deraadt Exp $"; #endif /* vix 26jan87 [RCS has the log] @@ -102,7 +102,7 @@ load_database(old_db) while (NULL != (dp = readdir(dir))) { char fname[MAXNAMLEN+1], - tabname[MAXNAMLEN+1]; + tabname[MAXPATHLEN]; /* avoid file names beginning with ".". this is good * because we would otherwise waste two guaranteed calls -- 2.20.1