From: deraadt Date: Sun, 15 Sep 1996 09:13:18 +0000 (+0000) Subject: enlarge buffer X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a1e461a7fdc7aba6421a72fcbe691a565bcebadb;p=openbsd enlarge buffer --- 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